Changeset 38729 for trunk/ppTranslate
- Timestamp:
- Sep 12, 2015, 10:27:17 AM (11 years ago)
- Location:
- trunk/ppTranslate/src
- Files:
-
- 4 edited
-
ppMops.h (modified) (2 diffs)
-
ppMopsDetections.c (modified) (2 diffs)
-
ppMopsRead.c (modified) (1 diff)
-
ppMopsWrite.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppTranslate/src/ppMops.h
r37430 r38729 34 34 psString difftype; // WW (Warp-Warp Diff) or WS (Warp-Stack Diff) or SW (Stack-Warp Diff) 35 35 float sky; // Exposure avg sky background 36 psString shutoutc; // Camera exposure shutter open (UTC) 36 psString shutoutc; // Camera exposure shutter open (UTC) from DB 37 37 } ppMopsArguments; 38 38 … … 63 63 float platescale; // Plate scale at centroid 64 64 psString fpashutoutc; // FPA shutoutc 65 psString fpashutcutc; // FPA shutcutc 65 66 } ppMopsDetections; 66 67 -
trunk/ppTranslate/src/ppMopsDetections.c
r37375 r38729 21 21 psFree(det->mask); 22 22 psFree(det->fpashutoutc); 23 psFree(det->fpashutcutc); 23 24 return; 24 25 } … … 50 51 det->diffSkyfileId = 0; 51 52 det->fpashutoutc = NULL; 53 det->fpashutcutc = NULL; 52 54 return det; 53 55 } -
trunk/ppTranslate/src/ppMopsRead.c
r37468 r38729 106 106 det->naxis2 = psMetadataLookupS32(NULL, header, "IMNAXIS2"); // Number of rows 107 107 det->fpashutoutc = psMemIncrRefCounter(psMetadataLookupStr(NULL, header, "FPA.SHUTOUTC")); 108 det->fpashutcutc = psMemIncrRefCounter(psMetadataLookupStr(NULL, header, "FPA.SHUTCUTC")); 108 109 psFree(header); 109 110 -
trunk/ppTranslate/src/ppMopsWrite.c
r37430 r38729 99 99 psMetadataAddStr(header, PS_LIST_TAIL, "DIFFTYPE", 0, "WW: Warp-Warp diff / WS: Warp-Stack diff / SW: Stack-Warp diff", args->difftype); 100 100 psMetadataAddF32(header, PS_LIST_TAIL, "SKY", 0, "Exposure avg sky background", args->sky); 101 psMetadataAddStr(header, PS_LIST_TAIL, "SHUTOUTC", 0, "Camera exposure shutter open (UTC )", args->shutoutc);101 psMetadataAddStr(header, PS_LIST_TAIL, "SHUTOUTC", 0, "Camera exposure shutter open (UTC, DB arg)", args->shutoutc); 102 102 psMetadataAddF32(header, PS_LIST_TAIL, "PLTSCALE_EXT", 0, "Plate scale at centroid", det->platescale); 103 103 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); 104 psMetadataAddStr(header, PS_LIST_TAIL, "FPA.SHUTOUTC", 0, "Time of exposure open (CHIP mod)", det->fpashutoutc); 105 psMetadataAddStr(header, PS_LIST_TAIL, "FPA.SHUTCUTC", 0, "Time of exposure close (RAW)", det->fpashutcutc); 105 106 106 107 //field in header that tells about the CMF version
Note:
See TracChangeset
for help on using the changeset viewer.
