Changeset 9518 for trunk/psModules/src/camera/pmFPAfileDefine.c
- Timestamp:
- Oct 12, 2006, 11:47:59 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAfileDefine.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAfileDefine.c
r9437 r9518 638 638 // detselect -camera (camera) -time (time) -type (type) [others] 639 639 // camera and time are functions of (pmFPA *input) 640 // XXX we need to get the time, but we don't have the CELL.TIME yet set (no CELL yet read) 641 // add other options here f(pmFPA *input, type) 642 psTime *time = psTimeGetNow (PS_TIME_TAI); 640 // XXX add other options here f(pmFPA *input, type) 641 642 // Get the time from FPA.TIME 643 psTime *time = psMetadataLookupPtr(NULL, fpa->concepts, "FPA.TIME"); 644 if (time->sec == 0 && time->nsec == 0) { 645 psError(PS_ERR_UNKNOWN, false, "FPA.TIME has not been set.\n"); 646 psFree(fpa); 647 return NULL; 648 } 643 649 pmDetrendSelectOptions *options = pmDetrendSelectOptionsAlloc(config->cameraName, *time, type); 644 650 psFree (time);
Note:
See TracChangeset
for help on using the changeset viewer.
