IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 4, 2016, 5:07:08 PM (10 years ago)
Author:
eugene
Message:

adding options to reset the starpar tables; option to skip images in the src db which are not in the tgt database

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/dvomerge/src/dvomergeUpdate_catalogs.c

    r39319 r39329  
    181181      LoadCatalog (&outcatalog, outlist[0].regions[j], outcatalog.filename, "w", NsecfiltOutput);
    182182
     183      if (RESET_STARPAR) {
     184        myAssert (MATCHED_TABLES, "must use -matched-tables to reset starpar");
     185        ResetStarPar (&outcatalog);
     186      }
     187
    183188      if (UPDATE_CATFORMAT) {
    184189        outcatalog.catformat = dvo_catalog_catformat (UPDATE_CATFORMAT);
     
    239244    dvo_catalog_free (&incatalog);
    240245  }
     246
     247  dvo_report_image_IDs (IDmap);
     248
    241249  return TRUE;
    242250}
     
    306314               UserPatch.Rmin, UserPatch.Rmax, UserPatch.Dmin, UserPatch.Dmax, RADIUS);
    307315
    308     if (VERBOSE)             { strextend (&command, "-v"); }
    309     if (VERIFY)              { strextend (&command, "-verify"); }
    310     if (VERIFY_CATALOG_ONLY) { strextend (&command, "-verify-catalogs"); }
    311     if (REPLACE_BY_PHOTCODE) { strextend (&command, "-replace"); }
    312     if (REPLACE_TYCHO)       { strextend (&command, "-replace-tycho"); }
    313     if (PARALLEL_INPUT)      { strextend (&command, "-parallel-input"); }
    314     if (FORCE_MERGE)         { strextend (&command, "-force-merge"); }
    315     if (MATCHED_TABLES)      { strextend (&command, "-matched-tables"); }
    316     if (MATCH_BY_EXTERN_ID)  { strextend (&command, "-match-by-extern-id"); }
    317     if (UPDATE_CATFORMAT)    { strextend (&command, "-update-catformat %s", UPDATE_CATFORMAT); }
    318     if (UPDATE_CATCOMPRESS)  { strextend (&command, "-update-catcompress %s", UPDATE_CATCOMPRESS); }
    319     if (CPTLIST_FILENAME)    { strextend (&command, "-restrict-cpt %s", CPTLIST_FILENAME); }
    320     if (REPAIR_BY_OBJID)     { strextend (&command, "-repair-by-objid"); }
     316    if (VERBOSE)                    { strextend (&command, "-v"); }
     317    if (VERIFY)                     { strextend (&command, "-verify"); }
     318    if (VERIFY_CATALOG_ONLY)        { strextend (&command, "-verify-catalogs"); }
     319    if (REPLACE_BY_PHOTCODE)        { strextend (&command, "-replace"); }
     320    if (REPLACE_TYCHO)              { strextend (&command, "-replace-tycho"); }
     321    if (PARALLEL_INPUT)             { strextend (&command, "-parallel-input"); }
     322    if (FORCE_MERGE)                { strextend (&command, "-force-merge"); }
     323    if (MATCHED_TABLES)             { strextend (&command, "-matched-tables"); }
     324    if (MATCH_BY_EXTERN_ID)         { strextend (&command, "-match-by-extern-id"); }
     325    if (RESET_STARPAR)              { strextend (&command, "-reset-starpar"); }
     326    if (ALLOW_MISSING_INPUT_IMAGES) { strextend (&command, "-allow-missing-input-images"); }
     327    if (UPDATE_CATFORMAT)           { strextend (&command, "-update-catformat %s", UPDATE_CATFORMAT); }
     328    if (UPDATE_CATCOMPRESS)         { strextend (&command, "-update-catcompress %s", UPDATE_CATCOMPRESS); }
     329    if (CPTLIST_FILENAME)           { strextend (&command, "-restrict-cpt %s", CPTLIST_FILENAME); }
     330    if (REPAIR_BY_OBJID)            { strextend (&command, "-repair-by-objid"); }
    321331
    322332    // add some config variables:
Note: See TracChangeset for help on using the changeset viewer.