- Timestamp:
- Dec 2, 2008, 6:24:28 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20081124/Ohana/src/opihi/dvo/dbCmdlineFields.c
r20860 r20873 77 77 status = ParseAverageField (&fields[Nfields], field); 78 78 } 79 if (table == DVO_TABLE_IMAGE) { 80 status = ParseImageField (&fields[Nfields], field); 81 } 79 82 if (!status) { 80 gprint (GP_ERR, "unknown database field %s\n", field);81 83 free (field); 82 84 dbFreeFields (fields, Nfields); … … 143 145 REALLOCATE (*stack, dbStack, N + 20); 144 146 147 Rname = Dname = NULL; 148 if (table == DVO_TABLE_MEASURE) { 149 Rname = strcreate ("RA:AVE"); 150 Dname = strcreate ("DEC:AVE"); 151 } 145 152 if (table == DVO_TABLE_AVERAGE) { 146 153 Rname = strcreate ("RA"); 147 154 Dname = strcreate ("DEC"); 148 } else { 149 Rname = strcreate ("RA:AVE"); 150 Dname = strcreate ("DEC:AVE"); 151 } 155 } 156 if (table == DVO_TABLE_IMAGE) { 157 Rname = strcreate ("RA"); 158 Dname = strcreate ("DEC"); 159 } 160 if (Rname == NULL) return (FALSE); 152 161 153 162 // add: ((ra > rmin) && (ra < rmax) && (dec > dmin) && (dec < dmax))
Note:
See TracChangeset
for help on using the changeset viewer.
