IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 40346


Ignore:
Timestamp:
Feb 15, 2018, 12:29:16 AM (8 years ago)
Author:
mhuber
Message:

setup for MOPS to get the now propagated PSREFCAT keyword from cam to diffs

Location:
trunk/ppTranslate/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppTranslate/src/ppMops.h

    r40049 r40346  
    6868  psString fpashutoutc;               // FPA shutoutc
    6969  psString fpashutcutc;               // FPA shutcutc
     70  psString refcat;                    // Reference catalog used
    7071} ppMopsDetections;
    7172
  • trunk/ppTranslate/src/ppMopsRead.c

    r40058 r40346  
    107107    det->fpashutoutc = psMemIncrRefCounter(psMetadataLookupStr(NULL, header, "FPA.SHUTOUTC"));
    108108    det->fpashutcutc = psMemIncrRefCounter(psMetadataLookupStr(NULL, header, "FPA.SHUTCUTC"));
     109    det->refcat = psMemIncrRefCounter(psMetadataLookupStr(NULL, header, "PSREFCAT"));
    109110    psFree(header);
    110111
     
    270271        }
    271272
    272         // add diff params to discard -- needs to be in config.. -- WSdiff only?
     273        // MEH -- add diff params to discard -- needs to be in config.. -- WSdiff only?
    273274        // -- needs to be finite to test but unclear if should reject (probably)
    274275        // -- using Napoli 2013 to start with
  • trunk/ppTranslate/src/ppMopsWrite.c

    r38729 r40346  
    104104  psMetadataAddStr(header, PS_LIST_TAIL, "FPA.SHUTOUTC", 0, "Time of exposure open (CHIP mod)", det->fpashutoutc);
    105105  psMetadataAddStr(header, PS_LIST_TAIL, "FPA.SHUTCUTC", 0, "Time of exposure close (RAW)", det->fpashutcutc);
     106  psMetadataAddStr(header, PS_LIST_TAIL, "PSREFCAT", 0, "Reference catalog used", det->refcat);
    106107
    107108  //field in header that tells about the CMF version
Note: See TracChangeset for help on using the changeset viewer.