IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 40873 for trunk


Ignore:
Timestamp:
Aug 14, 2019, 10:32:08 AM (7 years ago)
Author:
eugene
Message:

improve error messages for clarify

File:
1 edited

Legend:

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

    r34085 r40873  
    931931
    932932    if (!item || item->type != PS_DATA_S32) {
    933         psWarning("Unable to find %s --- assuming UTC", timesysName);
     933        psWarning("Unable to find %s in format file --- assuming UTC", timesysName);
    934934        return PS_TIME_UTC;
    935935    }
     
    982982    if (concept->type != PS_DATA_STRING || strlen(sys) <= 0) {
    983983        // XXX is this too low verbosity?
    984         psWarning("Can't interpret %s --- assuming UTC.", pattern->name);
     984        psWarning("Can't interpret %s --- assuming UTC (other options: TAI, UT1, TT).", pattern->name);
    985985    } else if (strcasecmp(sys, "TAI") == 0) {
    986986        timeSys = PS_TIME_TAI;
     
    993993    } else {
    994994        // XXX is this too low verbosity?
    995         psWarning("Can't interpret %s --- assuming UTC.", pattern->name);
     995        psWarning("Can't interpret %s --- assuming UTC (other options: TAI, UT1, TT).", pattern->name);
    996996    }
    997997
     
    14641464                                       const pmCell *cell)
    14651465{
     1466    psAssert (concept->type == PS_DATA_TIME, "programming error: concept not supplied with psTime pointer\n");
    14661467    psTime *time = concept->data.V;     // The time
    14671468
Note: See TracChangeset for help on using the changeset viewer.