Changeset 38615
- Timestamp:
- Jul 22, 2015, 8:15:13 AM (11 years ago)
- Location:
- branches/eam_branches/ipp-20150625/Ohana/src/uniphot/src
- Files:
-
- 2 edited
-
load_zpt_table.c (modified) (3 diffs)
-
update_dvo_setphot.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20150625/Ohana/src/uniphot/src/load_zpt_table.c
r37807 r38615 107 107 if (NO_METADATA) { 108 108 NFILTER = 5; 109 NSEASON = 4;109 NSEASON = 5; 110 110 NCHIP_X = 8; 111 111 NCHIP_Y = 8; … … 165 165 // ubercal hard-coded values 166 166 char filters_uc[5][3] = {"g", "r", "i", "z", "y"}; 167 double tstart_uc[] = {55000.0, 55296.0, 55327.0, 55662.0}; 168 double tstop_uc[] = {55296.0, 55327.0, 55662.0, 60000.0}; 167 168 // double tstart_uc[] = {55000.0, 55296.0, 55327.0, 55662.0}; 169 // double tstop_uc[] = {55296.0, 55327.0, 55662.0, 60000.0}; 170 171 double tstart_uc[] = {50000.0, 55296.0, 55327.0, 55662.0, 56110.0}; 172 double tstop_uc[] = {55296.0, 55327.0, 55662.0, 56110.0, 65000.0}; 169 173 170 174 double mjdstart, mjdstop; … … 275 279 exit (2); 276 280 } 281 282 // ***** skip the extra table segment ***** 283 // load data for this header 284 if (!gfits_load_header (f, &theader)) return (NULL); 285 286 // read the fits table bytes 287 if (!gfits_fread_ftable_data (f, &ftable, FALSE)) return (NULL); 288 289 // skip over remaining bytes in data segment 290 fseeko (f, ftable.datasize - ftable.validsize, SEEK_CUR); 277 291 278 292 // XXX the initial hacked-together table from Eddie is missing the last 2 elements. they should be zero -
branches/eam_branches/ipp-20150625/Ohana/src/uniphot/src/update_dvo_setphot.c
r38471 r38615 53 53 dvo_catalog_init (&catalog, TRUE); 54 54 catalog.filename = HOST_ID ? localFilename : skylist[0].filename[i]; 55 catalog.catflags = DVO_LOAD_AVERAGE | DVO_LOAD_MEASURE | DVO_LOAD_MISSING | DVO_LOAD_SECFILT;55 catalog.catflags = DVO_LOAD_AVERAGE | DVO_LOAD_MEASURE; 56 56 catalog.Nsecfilt = GetPhotcodeNsecfilt (); 57 57
Note:
See TracChangeset
for help on using the changeset viewer.
