Changeset 38471 for trunk/Ohana/src/addstar
- Timestamp:
- Jun 14, 2015, 10:12:31 AM (11 years ago)
- Location:
- trunk/Ohana/src/addstar
- Files:
-
- 15 edited
-
src/UpdateDatabase_Image.c (modified) (1 diff)
-
src/UpdateDatabase_Refcat.c (modified) (1 diff)
-
src/UpdateDatabase_Reflist.c (modified) (1 diff)
-
src/addstar.c (modified) (1 diff)
-
src/load2mass_as_rawdata.c (modified) (1 diff)
-
src/loadICRF_catalog.c (modified) (1 diff)
-
src/loadstarpar_catalog.c (modified) (1 diff)
-
src/loadsupercos_rawdata.c (modified) (1 diff)
-
src/loadtycho_rawdata.c (modified) (1 diff)
-
src/loadwise_prelim_rawdata.c (modified) (1 diff)
-
src/loadwise_rawdata.c (modified) (1 diff)
-
src/resort_threaded.c (modified) (1 diff)
-
src/resort_unthreaded.c (modified) (1 diff)
-
src/sedstar.c (modified) (1 diff)
-
test/relphot.flatcorr.dvo (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/addstar/src/UpdateDatabase_Image.c
r38441 r38471 43 43 44 44 // set the parameters which guide catalog open/load/create 45 dvo_catalog_init (&catalog, TRUE); 46 catalog.filename = skylist[0].filename[i]; 45 47 catalog.catformat = dvo_catalog_catformat (CATFORMAT); // set the default catformat from config data 46 48 catalog.catmode = dvo_catalog_catmode (CATMODE); // set the default catmode from config data 47 catalog.filename = skylist[0].filename[i];48 49 catalog.Nsecfilt = GetPhotcodeNsecfilt (); 49 50 catalog.catflags = DVO_LOAD_AVERAGE | DVO_LOAD_MEASURE | DVO_LOAD_MISSING | DVO_LOAD_SECFILT; -
trunk/Ohana/src/addstar/src/UpdateDatabase_Refcat.c
r38441 r38471 32 32 33 33 // set the parameters which guide catalog open/load/create 34 dvo_catalog_init (&catalog, TRUE); 34 35 catalog.filename = skylist[0].filename[i]; 35 36 catalog.Nsecfilt = GetPhotcodeNsecfilt (); -
trunk/Ohana/src/addstar/src/UpdateDatabase_Reflist.c
r38441 r38471 32 32 33 33 // set the parameters which guide catalog open/load/create 34 dvo_catalog_init (&catalog, TRUE); 34 35 catalog.filename = skylist[0].filename[i]; 35 36 catalog.Nsecfilt = GetPhotcodeNsecfilt (); -
trunk/Ohana/src/addstar/src/addstar.c
r38441 r38471 104 104 105 105 // set the parameters which guide catalog open/load/create 106 dvo_catalog_init (&catalog, TRUE); 106 107 catalog.filename = skylist[0].filename[i]; 107 108 catalog.catmode = dvo_catalog_catmode (CATMODE); // set the default catmode from config data -
trunk/Ohana/src/addstar/src/load2mass_as_rawdata.c
r38441 r38471 178 178 179 179 // now we have all of the loaded stars in this catalog 180 dvo_catalog_init (&catalog, TRUE); 180 181 catalog.filename = skylist[0].filename[0]; 181 182 catalog.catformat = dvo_catalog_catformat (CATFORMAT); // set the default catformat from config data -
trunk/Ohana/src/addstar/src/loadICRF_catalog.c
r38441 r38471 7 7 8 8 // now we have all of the loaded stars in this catalog 9 dvo_catalog_init (&catalog, TRUE); 9 10 catalog.filename = filename; 10 11 catalog.catformat = dvo_catalog_catformat (CATFORMAT); // set the default catformat from config data -
trunk/Ohana/src/addstar/src/loadstarpar_catalog.c
r38441 r38471 7 7 8 8 // now we have all of the loaded stars in this catalog 9 dvo_catalog_init (&catalog, TRUE); 9 10 catalog.filename = filename; 10 11 catalog.catformat = dvo_catalog_catformat (CATFORMAT); // set the default catformat from config data -
trunk/Ohana/src/addstar/src/loadsupercos_rawdata.c
r38467 r38471 168 168 169 169 // now we have all of the loaded stars in this catalog 170 dvo_catalog_init (&catalog, TRUE); 170 171 catalog.filename = skylist[0].filename[0]; 171 172 catalog.catformat = dvo_catalog_catformat (CATFORMAT); // set the default catformat from config data -
trunk/Ohana/src/addstar/src/loadtycho_rawdata.c
r38470 r38471 128 128 129 129 // now we have all of the loaded stars in this catalog 130 dvo_catalog_init (&catalog, TRUE); 130 131 catalog.filename = skylist[0].filename[0]; 131 132 catalog.catformat = dvo_catalog_catformat (CATFORMAT); // set the default catformat from config data -
trunk/Ohana/src/addstar/src/loadwise_prelim_rawdata.c
r38441 r38471 183 183 184 184 // now we have all of the loaded stars in this catalog 185 dvo_catalog_init (&catalog, TRUE); 185 186 catalog.filename = skylist[0].filename[0]; 186 187 catalog.catformat = dvo_catalog_catformat (CATFORMAT); // set the default catformat from config data -
trunk/Ohana/src/addstar/src/loadwise_rawdata.c
r38467 r38471 185 185 186 186 // now we have all of the loaded stars in this catalog 187 dvo_catalog_init (&catalog, TRUE); 187 188 catalog.filename = skylist[0].filename[0]; 188 189 catalog.catformat = dvo_catalog_catformat (CATFORMAT); // set the default catformat from config data -
trunk/Ohana/src/addstar/src/resort_threaded.c
r38441 r38471 40 40 char hostfile[1024]; 41 41 snprintf (hostfile, 1024, "%s/%s.cpt", HOSTDIR, threadData->region->name); 42 43 dvo_catalog_init (&catalog, TRUE); 42 44 catalog.filename = HOST_ID ? hostfile : threadData->filename; 43 45 -
trunk/Ohana/src/addstar/src/resort_unthreaded.c
r38441 r38471 18 18 char hostfile[1024]; 19 19 snprintf (hostfile, 1024, "%s/%s.cpt", HOSTDIR, skylist[0].regions[i]->name); 20 21 dvo_catalog_init (&catalog, TRUE); 20 22 catalog.filename = HOST_ID ? hostfile : skylist[0].filename[i]; 21 23 -
trunk/Ohana/src/addstar/src/sedstar.c
r38441 r38471 25 25 26 26 for (i = 0; i < skylist[0].Nregions; i++) { 27 dvo_catalog_init (&incatalog, TRUE); 27 28 incatalog.filename = skylist[0].filename[i]; 28 29 incatalog.catflags = DVO_LOAD_AVERAGE | DVO_LOAD_MEASURE | DVO_LOAD_SECFILT; -
trunk/Ohana/src/addstar/test/relphot.flatcorr.dvo
r38441 r38471 194 194 195 195 # run relphot on the db and check that the images now match the expected values 196 tapEXEC relphot -images g,r -v -region 9.5 10.5 19.5 20.5 -D CATDIR $catdir -D STAR_TOOFEW 1 -D SIGMA_LIM 0.07 -statmode WT_MEAN -cloud-limit 0.5 -D IMAGE_OFFSET 0.5 -update -synthphot _zpts $fileroot.synthzpts.fits196 tapEXEC relphot -images g,r -v -region 9.5 10.5 19.5 20.5 -D CATDIR $catdir -D STAR_TOOFEW 1 -D SIGMA_LIM 0.07 -statmode WT_MEAN -cloud-limit 0.5 -D IMAGE_OFFSET 0.5 -update -synthphot-zpts $fileroot.synthzpts.fits 197 197 for i 0 mjd_uc[] 198 198 ckexposure $catdir mjd_uc[$i] zpt_uc[$i] exptime_uc[$i] airmass_uc[$i] $filt_uc:$i relphot_uc
Note:
See TracChangeset
for help on using the changeset viewer.
