IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 8, 2014, 8:08:53 AM (12 years ago)
Author:
mhuber
Message:

specifically pass SHUTOUTC as FPA keyword through warp-diff-ppMops stages

Location:
trunk/ppTranslate/src
Files:
4 edited

Legend:

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

    r34824 r37375  
    5959  psVector *raExtErr, *decExtErr;     // Error in sky coordinates for RA_EXT and DEC_EXT
    6060  psVector *mask;                     // Mask for detections
    61     float platescale; //Plate scale at centroid
     61  float platescale;                   // Plate scale at centroid
     62  psString fpashutoutc;               // FPA shutoutc
    6263} ppMopsDetections;
    6364
  • trunk/ppTranslate/src/ppMopsDetections.c

    r34824 r37375  
    2020    psFree(det->decErr);
    2121    psFree(det->mask);
     22    psFree(det->fpashutoutc);
    2223    return;
    2324}
     
    4849    det->mask = NULL;
    4950    det->diffSkyfileId = 0;
     51    det->fpashutoutc = NULL;
    5052    return det;
    5153}
  • trunk/ppTranslate/src/ppMopsRead.c

    r34824 r37375  
    105105    det->naxis1 = psMetadataLookupS32(NULL, header, "IMNAXIS1"); // Number of columns
    106106    det->naxis2 = psMetadataLookupS32(NULL, header, "IMNAXIS2"); // Number of rows
     107    det->fpashutoutc = psMemIncrRefCounter(psMetadataLookupStr(NULL, header, "FPA.SHUTOUTC"));
    107108    psFree(header);
    108109
  • trunk/ppTranslate/src/ppMopsWrite.c

    r34779 r37375  
    102102  psMetadataAddF32(header, PS_LIST_TAIL, "PLTSCALE_EXT", 0, "Plate scale at centroid", det->platescale);
    103103  psMetadataAddF32(header, PS_LIST_TAIL, "PLTSCALE", 0, "Plate scale at centroid", det->platescale);
     104  psMetadataAddStr(header, PS_LIST_TAIL, "FPA.SHUTOUTC", 0, "Time of exposure", det->fpashutoutc);
    104105
    105106  //field in header that tells about the CMF version
Note: See TracChangeset for help on using the changeset viewer.