Changeset 34749 for trunk/Ohana/src/opihi
- Timestamp:
- Nov 30, 2012, 10:06:05 AM (14 years ago)
- Location:
- trunk/Ohana/src/opihi
- Files:
-
- 9 edited
-
cmd.astro (modified) (1 prop)
-
cmd.data/box.c (modified) (1 diff)
-
dvo/avextract.c (modified) (2 diffs)
-
dvo/avmatch.c (modified) (1 diff)
-
dvo/dvo_host_utils.c (modified) (4 diffs)
-
dvo/mextract.c (modified) (4 diffs)
-
dvo/mmatch.c (modified) (1 diff)
-
dvo/remote.c (modified) (2 diffs)
-
include/dvoshell.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.astro
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20120905/Ohana/src/opihi/cmd.astro merged: 34654,34735,34747
- Property svn:mergeinfo changed
-
trunk/Ohana/src/opihi/cmd.data/box.c
r27790 r34749 149 149 usage: 150 150 gprint (GP_ERR, "USAGE: box [-ticks NNNN] [-axis NNNN] [-labels NNNN]\n"); 151 152 gprint (GP_ERR, " additional options:\n"); 153 gprint (GP_ERR, " -fn (font) (size) : set font used for box\n"); 154 gprint (GP_ERR, " -lw (weight) : set box line weight\n"); 155 gprint (GP_ERR, " -c (color) : set box color\n"); 156 gprint (GP_ERR, " \n"); 157 gprint (GP_ERR, " for the descriptions below:\n"); 158 gprint (GP_ERR, " -x refers to the bottom x-axis, \n"); 159 gprint (GP_ERR, " -y refers to the left y-axis, \n"); 160 gprint (GP_ERR, " +x refers to the top x-axis, \n"); 161 gprint (GP_ERR, " +y refers to the right y-axis, \n"); 162 gprint (GP_ERR, " \n"); 163 gprint (GP_ERR, " -ticks [NNNN] : turn on (1), off (0), or use default for ticks\n"); 164 gprint (GP_ERR, " -labels [NNNN] : turn on (1), off (0), or use default for label\n"); 165 gprint (GP_ERR, " -axis [NNNN] : turn on (1), off (0), or use default for axis\n"); 166 gprint (GP_ERR, " the order for the NNNN values in the above options is: -x, -y, +x, +y\n"); 167 gprint (GP_ERR, " \n"); 168 gprint (GP_ERR, " -tickpad : set the spacing between the ticks and the tick text \n"); 169 gprint (GP_ERR, " \n"); 170 gprint (GP_ERR, " the following set the spacing between the label and the given axis:\n"); 171 gprint (GP_ERR, " -labelpadx, -labelpady, +labelpadx, +labelpady\n"); 172 gprint (GP_ERR, " \n"); 173 gprint (GP_ERR, " -pad : set the spacing between the plot section boundary and the axes\n"); 174 gprint (GP_ERR, " alternatively, set each axis independently with:\n"); 175 gprint (GP_ERR, " -xpad, -ypad, +xpad, +ypad\n"); 176 151 177 return (FALSE); 152 178 } -
trunk/Ohana/src/opihi/dvo/avextract.c
r34405 r34749 137 137 // this does all the work of re-packaging the command, calling it on the remote machines, then loading in the results 138 138 if (PARALLEL && !HOST_ID) { 139 int status = HostTableParallelOps (argc, argv, RESULT_FILE, 0, VERBOSE);139 int status = HostTableParallelOps (argc, argv, RESULT_FILE, TRUE, 0, VERBOSE); 140 140 141 141 dbFreeFields (fields, Nfields); … … 325 325 gprint (GP_ERR, " <photcode>:nphot : number of measurements used for average magnitude in this photcode\n"); 326 326 327 // gprint (GP_ERR, " <photcode>:ap : catalog aperture magnitude for photcode\n"); 328 // gprint (GP_ERR, " <photcode>:aper : catalog aperture magnitude for photcode\n"); 329 // gprint (GP_ERR, " <photcode>:aveerr : average error (stdev)\n"); 330 // gprint (GP_ERR, " <photcode>:aperinst : aperture flux\n"); 331 // gprint (GP_ERR, " <photcode>:aper_inst : aperture flux\n"); 332 333 gprint (GP_ERR, " <photcode>:kron : kron flux\n"); 334 // gprint (GP_ERR, " <photcode>:kronerr : kron error\n"); 335 gprint (GP_ERR, " <photcode>:photflags : photometry flags for measurements\n"); 336 gprint (GP_ERR, " <photcode>:flags : photometry flags for measurements\n"); 337 gprint (GP_ERR, " <photcode>:stdev : standard deviation of measurements\n"); 338 gprint (GP_ERR, " <photcode>:20 : 20 percentile psf mag\n"); 339 gprint (GP_ERR, " <photcode>:80 : 80 percentile psf mag\n"); 340 gprint (GP_ERR, " <photcode>:ucdist : distance to ubercalibrated exposure (in exposure overlaps)\n"); 341 gprint (GP_ERR, " <photcode>:stackDetectID : PSPS ID for stack detection\n"); 342 gprint (GP_ERR, " <photcode>:fluxpsf : psf flux\n"); 343 gprint (GP_ERR, " <photcode>:fluxpsferr : psf flux error\n"); 344 gprint (GP_ERR, " <photcode>:fluxkron : kron flux\n"); 345 gprint (GP_ERR, " <photcode>:fluxkronerr : kron flux error\n"); 346 327 347 // gprint (GP_ERR, " type : dophot type (unused)\n"); 328 348 // gprint (GP_ERR, " typefrac : dophot type fraction (unused)\n"); -
trunk/Ohana/src/opihi/dvo/avmatch.c
r34461 r34749 95 95 96 96 // I need to pass the RA & DEC vectors to the remote clients... 97 int status = HostTableParallelOps (argc, argv, RESULT_FILE, RAvec->Nelements, VERBOSE);97 int status = HostTableParallelOps (argc, argv, RESULT_FILE, TRUE, RAvec->Nelements, VERBOSE); 98 98 if (vec) free (vec); 99 99 -
trunk/Ohana/src/opihi/dvo/dvo_host_utils.c
r34260 r34749 79 79 } 80 80 81 // bundle the arguments into a command and pass to dvo_client. this implementation 82 // expects there to be a result file from the clients, and to load this into vectors in 83 // the main shell. 'Nelements' is a temp hack : for most commands, the result vectors are 84 // concatenated, but for avmatch, the vectors are merged by index into a pre-known 85 // length. this is probably not a solution to a general problem.. 86 int HostTableParallelOps (int argc, char **argv, char *ResultFile, int Nelements, int VERBOSE) { 81 // bundle the arguments into a command and pass to dvo_client. 82 83 // the normal ending step expects there to be a result file from the clients, and to load 84 // this into vectors in the main shell. 'Nelements' is a temp hack : for most commands, 85 // the result vectors are concatenated, but for avmatch, the vectors are merged by index 86 // into a pre-known length. this is probably not a solution to a general problem.. 87 88 // an alternative ending step ignores the result files and instead saves the names into 89 // the list 'result:n' for the user to access as desired 90 int HostTableParallelOps (int argc, char **argv, char *ResultFile, int ReadVectors, int Nelements, int VERBOSE) { 87 91 88 92 int i; … … 153 157 } 154 158 159 // create the result file list 160 char name[256]; 161 snprintf (name, 256, "RESULT_FILE:n"); 162 set_int_variable (name, table->Nhosts); 163 snprintf (name, 256, "RESULT_DATA:n"); 164 set_int_variable (name, table->Nhosts); 165 snprintf (name, 256, "RESULT_STATUS:n"); 166 set_int_variable (name, table->Nhosts); 167 155 168 // load fields from file 156 169 int Nvec = 0; 157 170 Vector **vec = NULL; 158 171 for (i = 0; i < table->Nhosts; i++) { 172 173 snprintf (name, 256, "RESULT_FILE:%d", i); 174 set_str_variable (name, table->hosts[i].results); 175 176 // DATA : 0 (unread), 1 (read) 177 snprintf (name, 256, "RESULT_DATA:%d", i); 178 set_int_variable (name, 0); 179 180 // STATUS : 0 (normal exit), -1 (crash), N (failure exit status) 181 snprintf (name, 256, "RESULT_STATUS:%d", i); 182 set_int_variable (name, table->hosts[i].status); 183 159 184 if (table->hosts[i].status) continue; 185 186 if (ReadVectors) { 187 int Ninvec = 0; 188 Vector **invec = ReadVectorTableFITS (table->hosts[i].results, "RESULT", &Ninvec); 189 if (!invec) { 190 // failed to read the file, now what? 191 gprint (GP_ERR, "failed to read remote result file : %s\n", table->hosts[i].results); 192 free (table->hosts[i].results); 193 table->hosts[i].results = NULL; 194 continue; 195 } 196 free (table->hosts[i].results); 197 table->hosts[i].results = NULL; 198 set_int_variable (name, 1); // result file has been read 199 200 if (Nelements == 0) { 201 vec = MergeVectors (vec, &Nvec, invec, Ninvec); 202 if (vec != invec) { 203 FreeVectorArray (invec, Ninvec); 204 } 205 } else { 206 vec = MergeVectorsByIndex (vec, &Nvec, invec, Ninvec, Nelements); 207 FreeVectorArray (invec, Ninvec); 208 } 209 } 210 } 211 212 // write vectors to a table (this is used by parallel dvo operations, but can be used elsewhere) 213 if (ResultFile) { 214 int status = WriteVectorTableFITS (ResultFile, "RESULT", vec, Nvec, FALSE, NULL); 215 if (!status) { 216 gprint (GP_ERR, "failed to write result file %s\n", ResultFile); 217 return FALSE; 218 } 219 } 220 221 for (i = 0; i < Nvec; i++) { 222 AssignVector (vec[i], vec[i]->name, ANYVECTOR, TRUE); 223 } 224 free (vec); 225 226 free (table); 227 return TRUE; 228 } 229 230 // re-gather the remote results files: this can be used in case one of the clients failed, 231 // and has since been re-run 232 int HostTableReloadResults (char *uniquer, int VERBOSE) { 233 234 int i; 235 236 // load the list of hosts 237 SkyTable *sky = GetSkyTable(); 238 if (!sky) { 239 gprint (GP_ERR, "failed to load sky table for database\n"); 240 return FALSE; 241 } 242 243 char *CATDIR = GetCATDIR (); 244 if (!CATDIR) { 245 gprint (GP_ERR, "failed to get CATDIR for database\n"); 246 return FALSE; 247 } 248 249 HostTable *table = HostTableLoad (CATDIR, sky->hosts); 250 if (!table) { 251 gprint (GP_ERR, "ERROR: failure reading Host Table %s for database %s\n", sky->hosts, CATDIR); 252 return FALSE; 253 } 254 255 // load fields from file 256 int Nvec = 0; 257 Vector **vec = NULL; 258 for (i = 0; i < table->Nhosts; i++) { 259 // ensure that the paths are absolute path names 260 char *tmppath = abspath (table->hosts[i].pathname, DVO_MAX_PATH); 261 free (table->hosts[i].pathname); 262 table->hosts[i].pathname = tmppath; 263 264 // need to save the results filename with the uniquer 265 // XXX a bit of a waste (but only 1024 * 60 bytes or so 266 ALLOCATE (table->hosts[i].results, char, DVO_MAX_PATH); 267 snprintf (table->hosts[i].results, DVO_MAX_PATH, "%s/dvo.results.%s.fits", table->hosts[i].pathname, uniquer); 160 268 161 269 int Ninvec = 0; … … 171 279 table->hosts[i].results = NULL; 172 280 173 if (Nelements == 0) { 174 vec = MergeVectors (vec, &Nvec, invec, Ninvec); 175 if (vec != invec) { 176 FreeVectorArray (invec, Ninvec); 177 } 178 } else { 179 vec = MergeVectorsByIndex (vec, &Nvec, invec, Ninvec, Nelements); 281 // fprintf (stderr, "%s : %d\n", table->hosts[i].pathname, invec[0]->Nelements); 282 283 vec = MergeVectors (vec, &Nvec, invec, Ninvec); 284 if (vec != invec) { 180 285 FreeVectorArray (invec, Ninvec); 181 }182 }183 184 // write vectors to a table (this is used by parallel dvo operations, but can be used elsewhere)185 if (ResultFile) {186 int status = WriteVectorTableFITS (ResultFile, "RESULT", vec, Nvec, FALSE, NULL);187 if (!status) {188 gprint (GP_ERR, "failed to write result file %s\n", ResultFile);189 return FALSE;190 286 } 191 287 } … … 199 295 return TRUE; 200 296 } 201 202 // re-gather the remote results files: this can be used in case one of the clients failed,203 // and has since been re-run204 int HostTableReloadResults (char *uniquer, int VERBOSE) {205 206 int i;207 208 // load the list of hosts209 SkyTable *sky = GetSkyTable();210 if (!sky) {211 gprint (GP_ERR, "failed to load sky table for database\n");212 return FALSE;213 }214 215 char *CATDIR = GetCATDIR ();216 if (!CATDIR) {217 gprint (GP_ERR, "failed to get CATDIR for database\n");218 return FALSE;219 }220 221 HostTable *table = HostTableLoad (CATDIR, sky->hosts);222 if (!table) {223 gprint (GP_ERR, "ERROR: failure reading Host Table %s for database %s\n", sky->hosts, CATDIR);224 return FALSE;225 }226 227 // load fields from file228 int Nvec = 0;229 Vector **vec = NULL;230 for (i = 0; i < table->Nhosts; i++) {231 // ensure that the paths are absolute path names232 char *tmppath = abspath (table->hosts[i].pathname, DVO_MAX_PATH);233 free (table->hosts[i].pathname);234 table->hosts[i].pathname = tmppath;235 236 // need to save the results filename with the uniquer237 // XXX a bit of a waste (but only 1024 * 60 bytes or so238 ALLOCATE (table->hosts[i].results, char, DVO_MAX_PATH);239 snprintf (table->hosts[i].results, DVO_MAX_PATH, "%s/dvo.results.%s.fits", table->hosts[i].pathname, uniquer);240 241 int Ninvec = 0;242 Vector **invec = ReadVectorTableFITS (table->hosts[i].results, "RESULT", &Ninvec);243 if (!invec) {244 // failed to read the file, now what?245 gprint (GP_ERR, "failed to read remote result file : %s\n", table->hosts[i].results);246 free (table->hosts[i].results);247 table->hosts[i].results = NULL;248 continue;249 }250 free (table->hosts[i].results);251 table->hosts[i].results = NULL;252 253 // fprintf (stderr, "%s : %d\n", table->hosts[i].pathname, invec[0]->Nelements);254 255 vec = MergeVectors (vec, &Nvec, invec, Ninvec);256 if (vec != invec) {257 FreeVectorArray (invec, Ninvec);258 }259 }260 261 for (i = 0; i < Nvec; i++) {262 AssignVector (vec[i], vec[i]->name, ANYVECTOR, TRUE);263 }264 free (vec);265 266 free (table);267 return TRUE;268 } -
trunk/Ohana/src/opihi/dvo/mextract.c
r34260 r34749 108 108 // this does all the work of re-packaging the command, calling it on the remote machines, then loading in the results 109 109 if (PARALLEL && !HOST_ID) { 110 int status = HostTableParallelOps (argc, argv, RESULT_FILE, 0, VERBOSE);110 int status = HostTableParallelOps (argc, argv, RESULT_FILE, TRUE, 0, VERBOSE); 111 111 112 112 dbFreeFields (fields, Nfields); … … 313 313 gprint (GP_ERR, " Npos : number of measurments used for astrometry\n"); 314 314 315 gprint (GP_ERR, " objflags : object flags\n"); 316 gprint (GP_ERR, " photflags : detection flags from image analysis\n"); 317 gprint (GP_ERR, " dbflags : detection flags from database analysis\n"); 315 gprint (GP_ERR, " objflags : object flags [alias: obj_flags]\n"); 316 gprint (GP_ERR, " secflags : average photometry flags [aliases: obj_phot_flags, sec_flags, secfilt_flags]\n"); 317 gprint (GP_ERR, " photflags : detection flags from image analysis [alias: phot_flags]\n"); 318 gprint (GP_ERR, " dbflags : detection flags from database analysis [alias: db_flags]\n"); 318 319 319 320 gprint (GP_ERR, " obj_flags : object flags\n"); … … 321 322 gprint (GP_ERR, " db_flags : detection flags from database analysis\n"); 322 323 324 gprint (GP_ERR, " airmass : airmass of detection\n"); 325 gprint (GP_ERR, " meas_airmass : airmass of exposure\n"); 326 gprint (GP_ERR, " alt : altitude of detection\n"); 327 gprint (GP_ERR, " az : azimuth of detection\n"); 328 gprint (GP_ERR, " exptime : exposure time [s]\n"); 329 gprint (GP_ERR, " photcode : photcode \n"); 330 gprint (GP_ERR, " photcode:equiv : equivalent average photcode \n"); 331 gprint (GP_ERR, " photcode:c : zero point of photcode \n"); 332 gprint (GP_ERR, " photcode:klam : airmass slope of photcode \n"); 333 gprint (GP_ERR, " time : time of exposure [Seconds since Jan 1, 1970/\n"); 334 gprint (GP_ERR, " fwhm : fwhm (average) of fitted PSF [pixels]\n"); 335 gprint (GP_ERR, " fwhm_maj : fwhm (major axis) of fitted PSF [pixels]\n"); 336 gprint (GP_ERR, " fwhm_min : fwhm (minor axis) of fitted PSF [pixels]\n"); 337 gprint (GP_ERR, " theta : position angle of fitted PSF\n"); 338 gprint (GP_ERR, " posangle : position angle of detector at measurement [degrees]\n"); 339 gprint (GP_ERR, " platescale : plate scale of detector at measurement [arcsec/pixel] (negative = sky parity)\n"); 340 341 gprint (GP_ERR, " Mxx : second moment in X [pixels^2]\n"); 342 gprint (GP_ERR, " Mxy : second moment cross term [pixels^2]\n"); 343 gprint (GP_ERR, " Myy : second moment in Y [pixels^2]\n"); 344 345 gprint (GP_ERR, " xccd : ccd x position\n"); 346 gprint (GP_ERR, " yccd : ccd y position\n"); 347 gprint (GP_ERR, " xoff : ccd x correction\n"); 348 gprint (GP_ERR, " yoff : ccd y correction\n"); 349 gprint (GP_ERR, " xccd:err : ccd x position error\n"); 350 gprint (GP_ERR, " yccd:err : ccd y position error\n"); 351 352 gprint (GP_ERR, " pos_sys_err : systematic position error\n"); 353 354 gprint (GP_ERR, " xmosaic : mosaic x position\n"); 355 gprint (GP_ERR, " ymosaic : mosaic y position\n"); 356 357 gprint (GP_ERR, " xchip : chip x position (= ccd position)\n"); 358 gprint (GP_ERR, " ychip : chip y position (= ccd position)\n"); 359 gprint (GP_ERR, " xfpa : fpa x position (= mosaic position)\n"); 360 gprint (GP_ERR, " yfpa : fpa y position (= mosaic position)\n"); 361 362 gprint (GP_ERR, " detID : ID of detection (unique on source image)\n"); 363 gprint (GP_ERR, " objID : object ID (32 bit, unique in catalog)\n"); 364 gprint (GP_ERR, " catID : catalog ID (32 bit)\n"); 365 gprint (GP_ERR, " imageID : ID of source image (32 bit)\n"); 366 gprint (GP_ERR, " externID : externID of source image (32 bit)\n"); 367 368 gprint (GP_ERR, " psf_qf : PSF quality factor (psf-weighted mask fraction)\n"); 369 gprint (GP_ERR, " psf_qf_perfect : PSF quality factor, perfect mask version (psf-weighted mask fraction)\n"); 370 371 gprint (GP_ERR, " psf_chisq : PSF fit chi square\n"); 372 gprint (GP_ERR, " psf_ndof : PSF number of degrees of freedom\n"); 373 gprint (GP_ERR, " psf_npix : PSF number of pixels\n"); 374 375 gprint (GP_ERR, " cr_nsigma : Nsigma deviation towards cosmic ray\n"); 376 gprint (GP_ERR, " ext_nsigma : Nsigma deviation towards extended source\n"); 377 378 gprint (GP_ERR, " sky : sky model flux at measurement location\n"); 379 gprint (GP_ERR, " sky_err : sky model stdev at measurement location\n"); 380 381 gprint (GP_ERR, " Mcal_offset : difference wrt nominal zero point (clouds are positive)\n"); 382 gprint (GP_ERR, " flat : flat-field correction (measure.Mcal - image.Mcal)\n"); 383 384 gprint (GP_ERR, " center_offset : distance to image center\n"); 385 gprint (GP_ERR, " flux : PSF flux\n"); 386 gprint (GP_ERR, " flux_err : PSF flux error\n"); 387 gprint (GP_ERR, " flux_psf : PSF flux\n"); 388 gprint (GP_ERR, " flux_psf_err : PSF flux error\n"); 389 gprint (GP_ERR, " flux_kron : KRON flux\n"); 390 gprint (GP_ERR, " flux_kron_err : KRON flux error\n"); 391 392 gprint (GP_ERR, " --- the following fields are selected by giving a photcode with the attached ending\n"); 323 393 gprint (GP_ERR, " <photcode>:ave : average magnitude for photcode (or equivalent)\n"); 324 394 gprint (GP_ERR, " <photcode>:ref : reference magnitude system for photcode (or equivalent)\n"); … … 335 405 gprint (GP_ERR, " <photcode>:ncode : number of measurements in photcode\n"); 336 406 gprint (GP_ERR, " <photcode>:nphot : number of measurements used for average magnitude\n"); 337 gprint (GP_ERR, " airmass : airmass of detection\n"); 338 gprint (GP_ERR, " alt : altitude of detection\n"); 339 gprint (GP_ERR, " az : azimuth of detection\n"); 340 gprint (GP_ERR, " exptime : exposure time [s]\n"); 341 gprint (GP_ERR, " photcode : photcode \n"); 342 gprint (GP_ERR, " photcode:equiv : equivalent average photcode \n"); 343 gprint (GP_ERR, " time : time of exposure [Seconds since Jan 1, 1970/\n"); 344 gprint (GP_ERR, " fwhm : fwhm (average) of fitted PSF [pixels]\n"); 345 gprint (GP_ERR, " fwhm_maj : fwhm (major axis) of fitted PSF [pixels]\n"); 346 gprint (GP_ERR, " fwhm_min : fwhm (minor axis) of fitted PSF [pixels]\n"); 347 gprint (GP_ERR, " theta : position angle of fitted PSF\n"); 348 gprint (GP_ERR, " posangle : position angle of detector at measurement [degrees]\n"); 349 gprint (GP_ERR, " platescale : plate scale of detector at measurement [arcsec/pixel] \n"); 350 351 gprint (GP_ERR, " psf_qf : PSF quality factor (psf-weighted mask fraction)\n"); 352 gprint (GP_ERR, " psf_chisq : PSF fit chi square\n"); 353 gprint (GP_ERR, " psf_ndof : PSF number of degrees of freedom\n"); 354 gprint (GP_ERR, " psf_npix : PSF number of pixels\n"); 355 356 gprint (GP_ERR, " cr_nsigma : Nsigma deviation towards cosmic ray\n"); 357 gprint (GP_ERR, " ext_nsigma : Nsigma deviation towards extended source\n"); 358 359 gprint (GP_ERR, " Mxx : second moment in X [pixels^2]\n"); 360 gprint (GP_ERR, " Mxy : second moment cross term [pixels^2]\n"); 361 gprint (GP_ERR, " Myy : second moment in Y [pixels^2]\n"); 362 363 gprint (GP_ERR, " xccd : ccd x position\n"); 364 gprint (GP_ERR, " yccd : ccd y position\n"); 365 gprint (GP_ERR, " xccd:err : ccd x position error\n"); 366 gprint (GP_ERR, " yccd:err : ccd y position error\n"); 367 gprint (GP_ERR, " xmosaic : mosaic x position\n"); 368 gprint (GP_ERR, " ymosaic : mosaic y position\n"); 369 gprint (GP_ERR, " xchip : chip x position (= ccd position)\n"); 370 gprint (GP_ERR, " ychip : chip y position (= ccd position)\n"); 371 gprint (GP_ERR, " xfpa : fpa x position (= mosaic position)\n"); 372 gprint (GP_ERR, " yfpa : fpa y position (= mosaic position)\n"); 373 374 gprint (GP_ERR, " detID : ID of detection (unique on source image)\n"); 375 gprint (GP_ERR, " objID : object ID (32 bit, unique in catalog)\n"); 376 gprint (GP_ERR, " catID : catalog ID (32 bit)\n"); 377 gprint (GP_ERR, " imageID : ID of source image (32 bit)\n"); 378 gprint (GP_ERR, " externID : externID of source image (32 bit)\n"); 379 380 gprint (GP_ERR, " Mcal_offset : difference wrt nominal zero point (clouds are positive)\n"); 381 gprint (GP_ERR, " flat : flat-field correction (measure.Mcal - image.Mcal)\n"); 407 408 gprint (GP_ERR, " <photcode>:aperinst : instrumental aperture magnitude\n"); 409 gprint (GP_ERR, " <photcode>:aper_inst : instrumental aperture magnitude\n"); 410 gprint (GP_ERR, " <photcode>:kron : kron mag\n"); 411 gprint (GP_ERR, " <photcode>:kroninst : instrumental kron mag\n"); 412 gprint (GP_ERR, " <photcode>:kron_inst : instrumental kron mag\n"); 413 gprint (GP_ERR, " <photcode>:kronerr : kron mag error\n"); 414 415 gprint (GP_ERR, " <photcode>:photflags : photometry flags for measurements\n"); 416 gprint (GP_ERR, " <photcode>:flags : photometry flags for measurements\n"); 417 gprint (GP_ERR, " <photcode>:fluxpsf : average psf flux\n"); 418 gprint (GP_ERR, " <photcode>:fluxpsferr : average psf flux error\n"); 419 gprint (GP_ERR, " <photcode>:fluxkron : average kron flux\n"); 420 gprint (GP_ERR, " <photcode>:fluxkronerr : average kron flux error\n"); 421 382 422 return (FALSE); 383 423 } -
trunk/Ohana/src/opihi/dvo/mmatch.c
r34463 r34749 124 124 125 125 // call the remote client 126 int status = HostTableParallelOps (targc, targv, RESULT_FILE, 0, VERBOSE);126 int status = HostTableParallelOps (targc, targv, RESULT_FILE, TRUE, 0, VERBOSE); 127 127 if (vec) free (vec); 128 128 -
trunk/Ohana/src/opihi/dvo/remote.c
r33963 r34749 12 12 remove_argument (N, &argc, argv); 13 13 VERBOSE = TRUE; 14 } 15 16 int ReadVectors = TRUE; 17 if ((N = get_argument (argc, argv, "-skip-result"))) { 18 remove_argument (N, &argc, argv); 19 ReadVectors = FALSE; 14 20 } 15 21 … … 43 49 44 50 // strip of the 'remote' and send the remaining arguments to the remote machine 45 int status = HostTableParallelOps (argc - 1, &argv[1], NULL, 0, VERBOSE);51 int status = HostTableParallelOps (argc - 1, &argv[1], NULL, ReadVectors, 0, VERBOSE); 46 52 return status; 47 53 } -
trunk/Ohana/src/opihi/include/dvoshell.h
r33963 r34749 100 100 101 101 int HostTableLaunchJobs PROTO((HostTable *table, char *basecmd, char *options, int VERBOSE)); 102 int HostTableParallelOps PROTO((int argc, char **argv, char *ResultFile, int Nelements, int VERBOSE));102 int HostTableParallelOps PROTO((int argc, char **argv, char *ResultFile, int ReadVectors, int Nelements, int VERBOSE)); 103 103 int HostTableReloadResults PROTO((char *uniquer, int VERBOSE)); 104 104
Note:
See TracChangeset
for help on using the changeset viewer.
