IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39623


Ignore:
Timestamp:
Jul 3, 2016, 11:09:59 AM (10 years ago)
Author:
eugene
Message:

pass repair-stacks and check-measures to relastro_client

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/relastro/src/UpdateObjectOffsets.c

    r39619 r39623  
    298298
    299299    char *command = NULL;
    300     strextend (&command, "relastro_client -update-offsets -hostID %d -D CATDIR %s -hostdir %s -region %f %f %f %f -statmode %s -minerror %f",
    301               table->hosts[i].hostID, CATDIR, table->hosts[i].pathname, UserPatch.Rmin, UserPatch.Rmax, UserPatch.Dmin, UserPatch.Dmax, STATMODE, MIN_ERROR);
     300    strextend (&command, "relastro_client -update-offsets");
     301    strextend (&command, "-hostID %d", table->hosts[i].hostID);
     302    strextend (&command, "-D CATDIR %s", CATDIR);
     303    strextend (&command, "-hostdir %s", table->hosts[i].pathname);
     304    strextend (&command, "-region %f %f %f %f", UserPatch.Rmin, UserPatch.Rmax, UserPatch.Dmin, UserPatch.Dmax);
     305    strextend (&command, "-statmode %s", STATMODE);
     306    strextend (&command, "-minerror %f", MIN_ERROR);
    302307
    303308    if (FIT_MODE == FIT_PM_ONLY)         strextend (&command, "-pm");
     
    320325   
    321326    if (USE_FIXED_PIXCOORDS) strextend (&command, "-D USE_FIXED_PIXCOORDS 1");
     327
     328    if (REPAIR_STACKS)          strextend (&command, "-repair-stacks");
     329    if (CHECK_MEASURE_TO_IMAGE) strextend (&command, "-check-measures");
    322330
    323331    if (PHOTCODE_KEEP_LIST) strextend (&command, "+photcode %s", PHOTCODE_KEEP_LIST);
Note: See TracChangeset for help on using the changeset viewer.