IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19724


Ignore:
Timestamp:
Sep 23, 2008, 3:10:59 PM (18 years ago)
Author:
Paul Price
Message:

Adding default coordinate scaling for FPA.LATITUDE and FPA.LONGITUDE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/concepts/pmConceptsStandard.c

    r18207 r19724  
    3535static double defaultCoordScaling(const psMetadataItem *pattern)
    3636{
    37     if (strcmp(pattern->name, "FPA.RA") == 0) {
     37    if (strcmp(pattern->name, "FPA.RA") == 0 || strcmp(pattern->name, "FPA.LATITUDE") == 0) {
    3838        psWarning("Assuming format for %s is HOURS.\n", pattern->name);
    3939        return M_PI / 12.0;
    4040    }
    41     if (strcmp(pattern->name, "FPA.DEC") == 0) {
     41    if (strcmp(pattern->name, "FPA.DEC") == 0 || strcmp(pattern->name, "FPA.LONGITUDE") == 0) {
    4242        psWarning("Assuming format for %s is DEGREES.\n", pattern->name);
    4343        return M_PI / 180.0;
Note: See TracChangeset for help on using the changeset viewer.