IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 9, 2013, 11:28:24 AM (13 years ago)
Author:
eugene
Message:

merge changes from trunk

Location:
branches/eam_branches/ipp-20130419/Ohana
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130419/Ohana

  • branches/eam_branches/ipp-20130419/Ohana/src/dvomerge/src/dvomergeFromList.c

    r29938 r35547  
    103103    sprintf (outputfile, "%s/%s", output, list[i]);
    104104
     105    OutputStatus *outstat = OutputStatusInit (1);
     106    outstat[0].history = dmhObjectRead (outputfile);
     107
     108    dmhObjectStats *inStats = dmhObjectStatsRead (inputfile);
     109
    105110    LoadCatalog (&incatalog, NULL, inputfile, "r", NsecfiltInput);
    106111
     
    138143    outcatalog.catflags = LOAD_AVES | LOAD_MEAS | LOAD_MISS | LOAD_SECF;
    139144
     145    dmhObjectAdd (outstat[0].history, &outcatalog.header, inStats);
     146
    140147    // if we receive a signal which would cause us to exit, wait until the full catalog is written
    141148    SetProtect (TRUE);
     
    148155    fprintf (stderr, "merged %s into %s\n", inputfile, outputfile);
    149156
     157    dmhObjectStatsFree (inStats);
     158    OutputStatusFree (outstat, 1);
     159
    150160    dvo_catalog_unlock (&outcatalog);
    151161    dvo_catalog_free (&outcatalog);
  • branches/eam_branches/ipp-20130419/Ohana/src/dvomerge/src/dvoverify_utils.c

    r34405 r35547  
    2626  if (!VerifyTableFile (filename)) {
    2727    fprintf (stderr, "bad average table %s\n", filename);
     28    isGood = FALSE;
     29  }
     30
     31  if (!CheckCatalogIndexes(filename, NULL)){
     32    fprintf (stderr, "bad indexes in %s\n", filename);
    2833    isGood = FALSE;
    2934  }
     
    4550    isGood = FALSE;
    4651  }
     52
    4753  return (isGood);
    4854}
Note: See TracChangeset for help on using the changeset viewer.