IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26801


Ignore:
Timestamp:
Feb 5, 2010, 5:24:18 PM (16 years ago)
Author:
Paul Price
Message:

Entries in the PSASTRO.HEADER in the FPA don't get seen by ppStats, so copy them into the output statistics explicitly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20091201/psastro/src/psastroMetadataStats.c

    r23835 r26801  
    3030    // extract stats for the complete fpa
    3131    pmFPAview *view = pmFPAviewAlloc(0);
     32
     33    // Entries in the PSASTRO.HEADER in the FPA don't get seen by ppStats
     34    psMetadata *header = psMetadataLookupMetadata(&status, output->fpa->analysis, "PSASTRO.HEADER");
     35    if (status && header) {
     36        psMetadataItemSupplement(&status, stats, header, "ZPT_OBS");
     37        psMetadataItemSupplement(&status, stats, header, "ZPT_ERR");
     38        psMetadataItemSupplement(&status, stats, header, "CERROR");
     39        psMetadataItemSupplement(&status, stats, header, "NASTRO");
     40    }
    3241
    3342    if (!ppStatsMetadata(stats, output->fpa, view, 0, config)) {
Note: See TracChangeset for help on using the changeset viewer.