IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 22, 2007, 7:44:00 AM (18 years ago)
Author:
eugene
Message:

using true instrument name from concepts, not camera name from structure

File:
1 edited

Legend:

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

    r15863 r15893  
    878878        psLogMsg ("psModules.camera", PS_LOG_WARN, "FPA.TIME has not been set.\n");
    879879    }
    880     pmDetrendSelectOptions *options = pmDetrendSelectOptionsAlloc(config->cameraName, *time, type);
     880
     881    // XXX careful about this: is this set correctly in the camera.config files?
     882    char *instrument = psMetadataLookupStr(NULL, input->concepts, "FPA.INSTRUMENT");
     883    pmDetrendSelectOptions *options = pmDetrendSelectOptionsAlloc(instrument, *time, type);
    881884
    882885    // add additional constraints based on the type defined in the PPIMAGE recipe
Note: See TracChangeset for help on using the changeset viewer.