Changeset 6073 for trunk/ippTools/src/p2searchRawFrames.c
- Timestamp:
- Jan 19, 2006, 7:13:33 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/p2searchRawFrames.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/p2searchRawFrames.c
r6072 r6073 15 15 psMetadataAddStr (where, PS_LIST_TAIL, "FILTER", 0, "==", config->filter); 16 16 } 17 // psMetadataConfig does not support times yet 18 /* 17 19 if (!psTimeIsZero(config->start) && !psTimeIsZero(config->stop)) { 18 20 psMetadataAddTime (where, PS_LIST_TAIL, "TIME_START", 0, "<", config->stop); 19 21 psMetadataAddTime (where, PS_LIST_TAIL, "TIME_STOP", 0, ">", config->start); 20 22 } 23 */ 21 24 22 25 psArray *exposures = rawScienceExpSelectRowObjects (config->database, where, MAX_ROWS); 23 26 psFree (where); 27 if (!exposures) { 28 psError(PS_ERR_UNKNOWN, false, "database access failed"); 29 30 return NULL; 31 } 24 32 25 33 // output array of ppRawFrame … … 34 42 35 43 psArray *images = rawImfileSelectRowObjects (config->database, where, MAX_ROWS); 44 if (!images) { 45 psError(PS_ERR_UNKNOWN, false, "database access failed"); 46 47 return NULL; 48 } 36 49 37 50 ppRawFrame *frame = ppRawFrameAlloc (exposure, images);
Note:
See TracChangeset
for help on using the changeset viewer.
