Changeset 42612
- Timestamp:
- Feb 6, 2024, 10:13:28 AM (2 years ago)
- Location:
- branches/eam_branches/ipp-20230313/psphot/src
- Files:
-
- 2 edited
-
psphotFullForceSummary.c (modified) (1 diff)
-
psphotFullForceSummaryReadout.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20230313/psphot/src/psphotFullForceSummary.c
r40809 r42612 322 322 int numCols = psMetadataLookupS32(&status, input->fpa->hdu->header, "IMNAXIS1"); 323 323 int numRows = psMetadataLookupS32(&status, input->fpa->hdu->header, "IMNAXIS2"); 324 char *photcode = psMetadataLookupStr(&status, input->fpa->hdu->header, "PHOTCODE"); 325 // char *filter = psMetadataLookupStr(&status, input->fpa->hdu->header, "FPA.FILTER"); 326 // char *telescope = psMetadataLookupStr(&status, input->fpa->hdu->header, "FPA.TELESCOPE"); 327 // char *instrument = psMetadataLookupStr(&status, input->fpa->hdu->header, "FPA.INSTRUMENT"); 328 // char *detector = psMetadataLookupStr(&status, input->fpa->hdu->header, "FPA.DETECTOR"); 329 324 330 psMetadataAddS32(output->fpa->hdu->header, PS_LIST_TAIL, "IMNAXIS1", PS_META_REPLACE, "", numCols); 325 331 psMetadataAddS32(output->fpa->hdu->header, PS_LIST_TAIL, "IMNAXIS2", PS_META_REPLACE, "", numRows); 326 332 psMetadataAddStr(output->fpa->hdu->header, PS_LIST_TAIL, "PHOTCODE", PS_META_REPLACE, "", photcode); 333 334 // XXX EAM 20240204 : these are added to the header psMetadata but do not make it out to the file header? 335 // psMetadataAddStr(output->fpa->hdu->header, PS_LIST_TAIL, "FPA.FILTER", PS_META_REPLACE, "", filter); 336 // psMetadataAddStr(output->fpa->hdu->header, PS_LIST_TAIL, "FPA.TELESCOPE", PS_META_REPLACE, "", telescope); 337 // psMetadataAddStr(output->fpa->hdu->header, PS_LIST_TAIL, "FPA.INSTRUMENT", PS_META_REPLACE, "", instrument); 338 // psMetadataAddStr(output->fpa->hdu->header, PS_LIST_TAIL, "FPA.DETECTOR", PS_META_REPLACE, "", detector); 339 327 340 // XXX: Also add psphot version information 328 341 -
branches/eam_branches/ipp-20230313/psphot/src/psphotFullForceSummaryReadout.c
r40809 r42612 45 45 outputReadout = pmReadoutAlloc(outputCell); 46 46 } 47 48 // this requires the readout to exist -- and does not work 49 // psphotAddPhotcode (config, view, "PSPHOT.FULLFORCE.OUTPUT"); 47 50 48 51 // Get the exposure parameters for the output from recipe and set them on the output
Note:
See TracChangeset
for help on using the changeset viewer.
