Changeset 42389 for trunk/Ohana/src/delstar/src/delete_fix_LAP.c
- Timestamp:
- Feb 8, 2023, 12:17:35 PM (3 years ago)
- Location:
- trunk/Ohana
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/delstar/src/delete_fix_LAP.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana
-
trunk/Ohana/src/delstar/src/delete_fix_LAP.c
r40549 r42389 40 40 // set up the basic catalog info 41 41 char hostfile[1024]; 42 snprintf (hostfile, 1024, "%s/%s.cpt", HOSTDIR, skylist[0].regions[i]->name);42 snprintf_nowarn (hostfile, 1024, "%s/%s.cpt", HOSTDIR, skylist[0].regions[i]->name); 43 43 44 44 dvo_catalog_init (&catalog, TRUE); … … 92 92 // write out the subset table of image information 93 93 char imageFile[512]; 94 snprintf (imageFile, 512, "%s/delstar.fixLAP.%s.dat", CATDIR, uniquer);94 snprintf_nowarn (imageFile, 512, "%s/delstar.fixLAP.%s.dat", CATDIR, uniquer); 95 95 96 96 if (!ImageSubsetSave (imageFile, image, Nimage)) { … … 132 132 133 133 ALLOCATE (table->hosts[i].results, char, 1024); 134 snprintf (table->hosts[i].results, 1024, "%s/delstar.fixLAP.imstats.%s.dat", table->hosts[i].pathname, uniquer);134 snprintf_nowarn (table->hosts[i].results, 1024, "%s/delstar.fixLAP.imstats.%s.dat", table->hosts[i].pathname, uniquer); 135 135 136 136 char command[1024]; 137 snprintf (command, 1024, "delstar_client -hostID %d -D CATDIR %s -hostdir %s -images %s -imstats %s -region %f %f %f %f -fix-LAP",137 snprintf_nowarn (command, 1024, "delstar_client -hostID %d -D CATDIR %s -hostdir %s -images %s -imstats %s -region %f %f %f %f -fix-LAP", 138 138 table->hosts[i].hostID, CATDIR, table->hosts[i].pathname, imageFile, table->hosts[i].results, 139 139 UserPatch.Rmin, UserPatch.Rmax, UserPatch.Dmin, UserPatch.Dmax); 140 140 141 141 char tmpline[1024]; 142 if (VERBOSE) { snprintf (tmpline, 1024, "%s -v", command); strcpy (command, tmpline); }143 if (VERBOSE2) { snprintf (tmpline, 1024, "%s -vv", command); strcpy (command, tmpline); }144 if (SINGLE_CPT) { snprintf (tmpline, 1024, "%s -cpt %s", command, SINGLE_CPT); strcpy (command, tmpline); }145 if (UPDATE) { snprintf (tmpline, 1024, "%s -update", command); strcpy (command, tmpline); }142 if (VERBOSE) { snprintf_nowarn (tmpline, 1024, "%s -v", command); strcpy (command, tmpline); } 143 if (VERBOSE2) { snprintf_nowarn (tmpline, 1024, "%s -vv", command); strcpy (command, tmpline); } 144 if (SINGLE_CPT) { snprintf_nowarn (tmpline, 1024, "%s -cpt %s", command, SINGLE_CPT); strcpy (command, tmpline); } 145 if (UPDATE) { snprintf_nowarn (tmpline, 1024, "%s -update", command); strcpy (command, tmpline); } 146 146 147 147 fprintf (stderr, "command: %s\n", command); … … 210 210 // write out the subset table of image information 211 211 char imageFile[512]; 212 snprintf (imageFile, 512, "%s/delstar.fixLAP.%s.dat", CATDIR, UNIQUER);212 snprintf_nowarn (imageFile, 512, "%s/delstar.fixLAP.%s.dat", CATDIR, UNIQUER); 213 213 214 214 // load the list of hosts … … 228 228 229 229 ALLOCATE (table->hosts[i].results, char, 1024); 230 snprintf (table->hosts[i].results, 1024, "%s/delstar.fixLAP.imstats.%s.dat", table->hosts[i].pathname, UNIQUER);230 snprintf_nowarn (table->hosts[i].results, 1024, "%s/delstar.fixLAP.imstats.%s.dat", table->hosts[i].pathname, UNIQUER); 231 231 232 232 fprintf (stderr, "read %s\n", table->hosts[i].results);
Note:
See TracChangeset
for help on using the changeset viewer.
