IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 40111


Ignore:
Timestamp:
Aug 9, 2017, 12:43:18 PM (9 years ago)
Author:
eugene
Message:

add update-catalog option to relphot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ohana.20170809/src/relphot/src/relphot_objects.c

    r39926 r40111  
    149149    if (VERBOSE) fprintf (stderr, "saving catalog %s\n", catalog.filename);
    150150   
     151    // modify the output format as desired (ignore current format on disk)
     152    if (UPDATE_CATFORMAT) {
     153      catalog.catformat = dvo_catalog_catformat (UPDATE_CATFORMAT);
     154    }
     155
    151156    char history[128];
    152157    struct timeval now;
     
    247252    if (UPDATE)            { strextend (&command, "-update"); }
    248253    if (!KEEP_UBERCAL)     { strextend (&command, "-reset-ubercal"); }
     254    if (UPDATE_CATFORMAT)  { strextend (&command, "-update-catformat %s", UPDATE_CATFORMAT); }
    249255    if (BOUNDARY_TREE)     { strextend (&command, "-boundary-tree %s", BOUNDARY_TREE); }
    250256    if (SYNTH_ZERO_POINTS) { strextend (&command, "-synthphot-zpts %s", SYNTH_ZERO_POINTS); }
Note: See TracChangeset for help on using the changeset viewer.