IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 14, 2006, 9:06:11 AM (19 years ago)
Author:
magnier
Message:

fixed detselect i/o issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAfileDefine.c

    r10484 r10724  
    651651
    652652    // Get the time from FPA.TIME
    653     psTime *time = psMetadataLookupPtr(NULL, fpa->concepts, "FPA.TIME");
     653    psTime *time = psMetadataLookupPtr(NULL, input->concepts, "FPA.TIME");
    654654    if (time->sec == 0 && time->nsec == 0) {
    655         psError(PS_ERR_UNKNOWN, false, "FPA.TIME has not been set.\n");
    656         psFree(fpa);
    657         return NULL;
     655        psLogMsg ("psModules.camera", PS_LOG_WARN, "FPA.TIME has not been set.\n");
    658656    }
    659657    pmDetrendSelectOptions *options = pmDetrendSelectOptionsAlloc(config->cameraName, *time, type);
    660     psFree (time);
    661658
    662659    // search for existing detrend data (detID)
     
    672669
    673670    // set the fileLevel based on the detDB results
    674     file->fileLevel = results->level;
     671    // XXX this is not supplied by the db.  use the config value for now.
     672    // file->fileLevel = results->level;
    675673
    676674    psFree (results);
Note: See TracChangeset for help on using the changeset viewer.