IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14450


Ignore:
Timestamp:
Aug 8, 2007, 12:28:08 PM (19 years ago)
Author:
eugene
Message:

handle sorted data for updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libdvo/src/dvo_catalog.c

    r13884 r14450  
    235235  status = gfits_scan (&catalog[0].header, "SORTED", "%t", 1, &catalog[0].sorted);
    236236  if (!status) catalog[0].sorted = TRUE;
     237
     238  // even if the data is sorted on disk, if we only load the MEAS_META, we are
     239  // treating it as unsorted (eg, append only)
     240  if (catalog[0].catflags & LOAD_MEAS_META) {
     241      catalog[0].sorted = FALSE;
     242  }
    237243
    238244  // determine catmode
Note: See TracChangeset for help on using the changeset viewer.