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/ppSub/src/ppSubDefineOutput.c

    r37966 r40344  
    198198    psMetadataAddStr(tgtHeader, PS_LIST_TAIL, keyword, PS_META_REPLACE, "input image", string);
    199199  }
     200
     201  // Copy PSREFCAT from the source to the target as well
     202  snprintf(keyword, 80, "PSREFCAT");
     203  char *string = psMetadataLookupStr(&status, srcHeader, keyword);
     204  if (status) {
     205    psMetadataAddStr(tgtHeader, PS_LIST_TAIL, keyword, PS_META_REPLACE, "input image reference catalog", string);
     206  }
     207 
    200208  return true;
    201209}
Note: See TracChangeset for help on using the changeset viewer.