#
#  This file is used to generate psAstronomyErrors.h content
#
#  Format is:
#  ERRORNAME(one word)    ERROR_TEXT
#
#  N.B. in code, the ERRORNAME appears as PS_ERRORTEXT_ERRORNAME
####################################################################
psTime_FILE_NOT_FOUND                  Failed to open file %s.
psTime_FILE_TOO_MANY_ROWS              Too many rows found in file %s. Max number of rows allowed is %d.
psTime_TIME_POSTDATES_TABLE            Specified psTime postdates (%g) the table of %s information.
psTime_TIME_PREDATES_TABLE             Specified psTime predates (%g) the table of %s information.
psTime_TIME_POSTDATES_TABLES           Specified psTime postdates (%g) all tables of %s information.
psTime_TIME_PREDATES_TABLES            Specified psTime predates (%g) all tables of %s information.
psTime_TABLE_DUPLICATE_ROWS            The %s table was found to have two rows of the same time value.
psTime_TYPE_UNKNOWN                    Specified type, %d, is not supported.
psTime_TYPE_INCORRECT                  Specified type, %d, is incorrect.
psTime_TYPE_MISMATCH                   Specified psTime parameters must have same type.
psTime_GET_TOD_FAILED                  Failed to determine the current time from gettimeofday function.
psTime_CONVERT_TIME_TO_STRING_FAILED   Failed to convert a time via strftime function.
psTime_APPEND_MSEC_FAILED              Failed to append millisecond to time string with snprintf function.
psTime_USEC_INVALID                    The psTime usec attribute value, %u, is invalid.  Must be less than 1e6.
psTime_ISOTIME_MALFORMED               Specified ISO Time string, '%s', is malformed.  Must be in 'YYYY-MM-DDThh:mm:ss.sss' format.
psTime_INTERPOLATION_FAILED            Failed time table interpolation.
psTime_INTERPOLATION_FAILED_NAME       Failed time table interpolation for '%s'.
psTime_LOOKUP_METADATA_FAILED          Failed find '%s' in time metadata.
psTime_BAD_TABLE_COUNT                 Incorrect number of table files entered. Found: %d. Expected: %d.
psTime_BAD_VECTOR                      Incorrect vector size. Size: %d, Expected %d.
#
psCoord_PROJECTION_TYPE_UNDEFINED      The projection type, %s, is undefined.
psCoord_PROJECTION_TYPE_UNKNOWN        The projection type, %d, is unknown.
psCoord_UNITS_UNKNOWN                  Specified units, 0x%x, is not supported.
psCoord_OFFSET_MODE_UNKNOWN            Specified offset mode, 0x%x, is not supported.
psCoord_INVALID_MJD                    Specified time is less than 1900.
#
psAstrometry_NONLINEAR_TRANSFORM       The %s transfrom is not linear.  Only linear transforms are supported.
#
psMetadata_METATYPE_INVALID            Specified psMetadataType, %d, is not supported.
psMetadata_FORMAT_INVALID              Specified print format, %%%c, is not supported.
psMetadata_METATYPE_MISMATCH           Specified psMetadataType, %d, is incorrect. Expected %d.
psMetadata_ADD_LIST_FAILED             Failed to add metadata item, %s, to items list.
psMetadata_ADD_TABLE_FAILED            Failed to add metadata item, %s, to items table.
psMetadata_REMOVE_LIST_FAILED          Failed to remove metadata item, %s, from metadata list.
psMetadata_REMOVE_LIST_INDEX_FAILED    Failed to remove metadata item, at index %d, from metadata list.
psMetadata_REMOVE_TABLE_FAILED         Failed to remove metadata item, %s, from metadata table.
psMetadata_ADD_COLLECTION_FAILED       Failed to add metadata item, %s, to metadata collection list.
psMetadata_ADD_FAILED                  Failed to add metadata item to metadata collection list.
psMetadata_FIND_FAILED                 Could not find metadata item, %s.
psMetadata_FIND_INDEX_FAILED           Could not find metadata item at index %d.
psMetadata_DUPLICATE_NOT_ALLOWED       Duplicate metadata item name is not allowed.  Use a psMetadataFlags option to allow such action.
psMetadata_REGEX_INVALID               Specified regular expression is invalid.  %s.
psMetadata_LOCATION_INVALID            Specified location, %d, is invalid.
#
psMetadataIO_TYPE_INVALID              Specified type, %d, is not supported.
psMetadataIO_EXTNUM_NOTPOSITIVE        Specified extension number, %d, is invalid.  Value must be positive if no extension name is given.
psMetadataIO_FITS_METATYPE_INVALID     Specified FITS metadata type, %c, is not supported.
psMetadataIO_ADD_FAILED                Failed to add metadata item, %s.
psMetadataIO_FILE_OPEN_FAILED          Failed to open file '%s'. Check if it exists and it has the proper permissions.
psMetadataIO_FILE_MULTIPLE_CHAR        More than one '%c' character not allowed.  Found on line %u of %s.
psMetadataIO_FILE_ELEMENT_NULL         Failed to read a metadata %s on line %u of %s.
psMetadataIO_FILE_TYPE_INVALID         Metadata type '%s', found on line %u of %s, is not invalid.
psMetadataIO_OVERWRITE_ITEM            Duplicate Metadata item, %s, found on line %u of %s.  Overwrite not allowed.
psMetadataIO_PARSE_FAILED              Failed to parse the value '%s' of metadata item %s, type %s, on line %u of %s.
psMetadataIO_NO_NAME                   Failed to find key 'name' in table on line %u of %s.
psMetadataIO_TYPE_INVALID_LINE_FILE    Specified type, %s, is not supported on line %u of %s.
psMetadataIO_TAG_MISMATCH              Start tag, %s and end tag, %s do not agree.
psMetadataIO_TAG_UNKNOWN               Invalid end tag name, %s.

