- Timestamp:
- May 27, 2021, 11:41:52 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/relphot.20210521/src/reload_catalogs.c
r41615 r41620 90 90 initTGroupBins (&catalog, 1); 91 91 92 initGridBins ( &catalog, 1);92 initGridBins (); 93 93 TIMESTAMP(time3b); 94 94 … … 237 237 char *command = NULL; 238 238 strextend (&command, "relphot_client %s -update-catalogs %s", PhotcodeList, imageFile); 239 strextend (&command, "-hostID %d -D CATDIR %s -hostdir %s", group->hosts[i][0].hostID, CATDIR, group->hosts[i][0].pathname); 239 strextend (&command, "-hostID %d", group->hosts[i][0].hostID); 240 strextend (&command, "-D CATDIR %s", CATDIR); 241 strextend (&command, "-hostdir %s", group->hosts[i][0].pathname); 240 242 strextend (&command, "-region %f %f %f %f", UserPatch.Rmin, UserPatch.Rmax, UserPatch.Dmin, UserPatch.Dmax); 241 243 strextend (&command, "-statmode %s", STATMODE); 242 244 strextend (&command, "-D CAMERA %s", CAMERA); 243 strextend (&command, "-D STAR_TOOFEW %d -minerror %f", STAR_TOOFEW, MIN_ERROR); 244 245 // options & configs which affect relphot_client -update-catalogs 246 // VERBOSE, VERBOSE2 247 // RESET 248 // RESET_ZEROPTS 249 // TimeSelect 250 // AreaSelect 251 // STATMODE 252 // STAR_TOOFEW 253 // MIN_ERROR 254 245 strextend (&command, "-D STAR_TOOFEW %d", STAR_TOOFEW); 246 strextend (&command, "-minerror %f", MIN_ERROR); 247 255 248 if (VERBOSE) { strextend (&command, "-v"); } 256 249 if (VERBOSE2) { strextend (&command, "-vv"); } 257 250 if (RESET) { strextend (&command, "-reset"); } 258 251 if (RESET_ZEROPTS) { strextend (&command, "-reset-zpts"); } 252 if (RESET_FLATCORR) { strextend (&command, "-reset-flat"); } 253 if (!KEEP_UBERCAL) { strextend (&command, "-reset-ubercal"); } 259 254 if (PRESERVE_PS1) { strextend (&command, "-preserve-ps1"); } 255 if (IS_DIFF_DB) { strextend (&command, "-is-diff-db"); } 260 256 if (UPDATE) { strextend (&command, "-update"); } 261 if (IS_DIFF_DB) { strextend (&command, "-is-diff-db"); }262 if (!KEEP_UBERCAL) { strextend (&command, "-reset-ubercal"); }263 257 if (UPDATE_CATFORMAT) { strextend (&command, "-update-catformat %s", UPDATE_CATFORMAT); } 264 258 if (BOUNDARY_TREE) { strextend (&command, "-boundary-tree %s", BOUNDARY_TREE); } … … 266 260 if (GRID_ZEROPT) { strextend (&command, "-grid %s", GRID_MEANFILE); } 267 261 if (USE_BASIC_CHECK) { strextend (&command, "-basic-image-search"); } 262 // if (USE_ALL_IMAGES) { strextend (&command, "-use-all-images"); } 268 263 if (USE_MCAL_PSF_FOR_STACK_APER) { strextend (&command, "-use-mcal-psf-for-stack-aper"); } 269 264
Note:
See TracChangeset
for help on using the changeset viewer.
