IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 38421


Ignore:
Timestamp:
Jun 6, 2015, 9:15:09 PM (11 years ago)
Author:
eugene
Message:

load galphot entries; add -update-catcompress; renamed galshape to galphot for convenience (8 chars in NGALPHOT)

Location:
branches/eam_branches/ohana.20150429/src/dvomerge
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ohana.20150429/src/dvomerge/include/dvomerge.h

    r37807 r38421  
    4242int    FORCE_MERGE;
    4343char  *UPDATE_CATFORMAT;
     44char  *UPDATE_CATCOMPRESS;
    4445
    4546int    MATCHED_TABLES;
  • branches/eam_branches/ohana.20150429/src/dvomerge/src/LoadCatalog.c

    r38352 r38421  
    88
    99    // always load all of the data (if any exists)
    10     catalog[0].catflags = DVO_LOAD_AVERAGE | DVO_LOAD_MEASURE | DVO_LOAD_MISSING | DVO_LOAD_SECFILT | DVO_LOAD_LENSING | DVO_LOAD_LENSOBJ | DVO_LOAD_STARPAR;
     10    catalog[0].catflags = DVO_LOAD_AVERAGE | DVO_LOAD_MEASURE | DVO_LOAD_MISSING | DVO_LOAD_SECFILT | DVO_LOAD_LENSING | DVO_LOAD_LENSOBJ | DVO_LOAD_STARPAR | DVO_LOAD_GALPHOT;
    1111
    1212    catalog[0].catformat = dvo_catalog_catformat (CATFORMAT);  // set the default catformat from config data
  • branches/eam_branches/ohana.20150429/src/dvomerge/src/args.c

    r38062 r38421  
    6262    remove_argument (N, argc, argv);
    6363    UPDATE_CATFORMAT = strcreate (argv[N]);
     64    remove_argument (N, argc, argv);
     65  }
     66  UPDATE_CATCOMPRESS = NULL;
     67  if ((N = get_argument (*argc, argv, "-update-catcompress"))) {
     68    remove_argument (N, argc, argv);
     69    UPDATE_CATCOMPRESS = strcreate (argv[N]);
    6470    remove_argument (N, argc, argv);
    6571  }
     
    212218    remove_argument (N, argc, argv);
    213219  }
     220  UPDATE_CATCOMPRESS = NULL;
     221  if ((N = get_argument (*argc, argv, "-update-catcompress"))) {
     222    remove_argument (N, argc, argv);
     223    UPDATE_CATCOMPRESS = strcreate (argv[N]);
     224    remove_argument (N, argc, argv);
     225  }
    214226
    215227  /* replace measurement, don't duplicate */
  • branches/eam_branches/ohana.20150429/src/dvomerge/src/dvomergeUpdate_catalogs.c

    r38352 r38421  
    182182          outcatalog.catformat = incatalog.catformat;
    183183        }
     184        if (UPDATE_CATCOMPRESS) {
     185          outcatalog.catcompress = dvo_catalog_catcompress (UPDATE_CATCOMPRESS);
     186        } else {
     187          outcatalog.catcompress = incatalog.catcompress;
     188        }
    184189      }
    185190
Note: See TracChangeset for help on using the changeset viewer.