IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 16, 2020, 1:54:47 PM (6 years ago)
Author:
tdeboer
Message:

revert to working Ohana build

Location:
trunk/Ohana/src/relphot/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/relphot/src/reload_catalogs.c

    r41153 r41340  
    6262
    6363    catalog.catflags    = DVO_LOAD_AVERAGE | DVO_LOAD_MEASURE | DVO_LOAD_MISSING | DVO_LOAD_SECFILT;
    64     // if we are going to update the format, we should update all tables
    65     if (UPDATE_CATFORMAT) {
    66       catalog.catflags |= DVO_LOAD_LENSING | DVO_LOAD_LENSOBJ | DVO_LOAD_STARPAR | DVO_LOAD_GALPHOT;
    67     }
    6864    catalog.Nsecfilt    = GetPhotcodeNsecfilt ();               // set the desired number in case we need to create the catalog
    6965
  • trunk/Ohana/src/relphot/src/relphot_objects.c

    r41153 r41340  
    7373
    7474    catalog.catflags    = DVO_LOAD_AVERAGE | DVO_LOAD_MEASURE | DVO_LOAD_MISSING | DVO_LOAD_SECFILT;
    75     // if we are going to update the format, we should update all tables
    76     if (UPDATE_CATFORMAT) {
    77       catalog.catflags |= DVO_LOAD_LENSING | DVO_LOAD_LENSOBJ | DVO_LOAD_STARPAR | DVO_LOAD_GALPHOT;
    78     }
    7975    catalog.Nsecfilt    = GetPhotcodeNsecfilt ();
    8076
     
    166162    // we can optionally convert output format here
    167163    // but it would be better to define a dvo crawler program to do this
    168     // catalog.catformat = DVO_FORMAT_PS1_V1;
    169 
    170     // modify the output format as desired (ignore current format on disk)
    171     if (UPDATE_CATFORMAT) {
    172       catalog.catformat = dvo_catalog_catformat (UPDATE_CATFORMAT);
    173     }
    174    
     164    // catalog.catformat = DVO_FORMAT_PS1_V1; 
    175165    SetProtect (TRUE);
    176166    if (!dvo_catalog_save (&catalog, VERBOSE)) { fprintf (stderr, "ERROR: failed to save %s\n", catalog.filename); exit (1); }
Note: See TracChangeset for help on using the changeset viewer.