IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 8, 2018, 2:53:29 PM (8 years ago)
Author:
watersc1
Message:

Modification to pswarp and ppSub to propagate the PSREFCAT keyword from the camera stage SMF.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pswarp/src/pswarpUpdateMetadata.c

    r36835 r40344  
    2020    bool bilevelAstrometry = psMetadataLookupBool (NULL, skycell->analysis, "ASTROMETRY.BILEVEL");
    2121
     22    psString refcat = psMetadataLookupStr (NULL, output->analysis, "REFERENCE_CATALOG");
    2223    pmChip *chip;
    2324    while ((chip = pmFPAviewNextChip (view, output, 1)) != NULL) {
     
    165166    }
    166167
     168    if (refcat) {
     169      psMetadataAddStr(output->hdu->header, PS_LIST_TAIL, "PSREFCAT", PS_META_REPLACE, "Reference catalog used for calibration", refcat);
     170    }
     171   
    167172    // apply the bilevel astrometry elements to the target
    168173    if (bilevelAstrometry) {
Note: See TracChangeset for help on using the changeset viewer.