-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix TS8 exposure id calculation for historical data
We have already ingested TS8 data into a butler using the old timestamp exposure_id calculation. It is very disruptive to change this because it will require the entire repository be remade from scratch. Furthermore, the fix to DATE-OBS broke all the historical calculations where the exposure_id was being derived from the end of the integration by mistake. This commit retains LSSTCam exposure_id for > 2023-05-24 and uses the original DATE-OBS value to calculate the exposure ID for older data.
- Loading branch information
Showing
3 changed files
with
260 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,203 @@ | ||
SIMPLE: true | ||
EXTEND: true | ||
DATE: '2023-05-25T17:45:49.870' | ||
MJD: 60089.740160532296 | ||
RUNNUM: 7227D | ||
CCD_MANU: ITL | ||
CCD_TYPE: 3800C | ||
TESTTYPE: FLAT | ||
IMGTYPE: FLAT | ||
EXPTIME: 30.0 | ||
FILENAME: TS_C_20230525_000041_R22_S00.fits | ||
BINX: 1 | ||
BINY: 1 | ||
CCDGAIN: 1.0 | ||
CCDNOISE: 10.0 | ||
DATE-OBS: '2023-05-25T17:45:19.715' | ||
MJD-OBS: 60089.73981151637 | ||
DATE-TRG: '2023-05-25T17:45:49.866' | ||
MJD-TRG: 60089.740160486195 | ||
IMAGETAG: c71b061eb369b82a | ||
CCDSLOT: S00 | ||
RAFTBAY: R22 | ||
FIRMWARE: 3139500e | ||
PLATFORM: ir2-teststand | ||
CONTNUM: 18edf1f0 | ||
DAQVERS: R5-V6.2 2023-05-17T21:16:12Z (39e4a179) | ||
DAQPART: ts8 | ||
DAQFOLD: raw | ||
OBSANNOT: Just R22 | ||
OBSID: TS_C_20230525_000041 | ||
CAMCODE: TS | ||
CONTRLLR: C | ||
DAYOBS: '20230525' | ||
SEQNUM: 41 | ||
HEADVER: 2 | ||
INSTRUME: LSST-TS8 | ||
TELESCOP: LSST | ||
TSTAND: TS8 | ||
SEQFILE: FP_ITL_2s_ir2_v26.seq | ||
SEQCKSUM: '1606982964' | ||
LSST_NUM: ITL-3800C-372 | ||
CCD_SERN: '24809' | ||
REBNAME: LCA-13574-061 | ||
RAFTNAME: LCA-11021_RTM-004 | ||
DARKTIME: 30.151 | ||
TSEQNUM: 100 | ||
FPVERS: 1.1.8-dev-SNAPSHOT | ||
IHVERS: 1.1.0-dev-SNAPSHOT | ||
DATE-BEG: '2023-05-25T17:45:19.715' | ||
MJD-BEG: 60089.73981151637 | ||
DATE-END: '2023-05-25T17:45:49.866' | ||
MJD-END: 60089.740160486195 | ||
TIMESYS: TAI | ||
FILTER: null | ||
FILTER1: null | ||
TEMPLED1: 32.4309 | ||
TEMPLED2: 32.3017 | ||
TEMPBRD: 39.7695 | ||
CCOBLED: uv | ||
CCOBCURR: 0.1 | ||
CCOBADC: 0.179753 | ||
CCOBFLST: 0.701545 | ||
PROJTIME: 0.843 | ||
CCOBFLUX: 1321.0 | ||
DATEPBEG: '2023-05-25T17:45:19.788' | ||
MJDPBEG: 60089.73981236108 | ||
DATEPEND: '2023-05-25T17:45:20.631' | ||
MJDPEND: 60089.73982211808 | ||
XTENSION: BINTABLE | ||
BITPIX: 8 | ||
NAXIS: 2 | ||
NAXIS1: 8 | ||
NAXIS2: 2048 | ||
PCOUNT: 1098676 | ||
GCOUNT: 1 | ||
TFIELDS: 1 | ||
TTYPE1: COMPRESSED_DATA | ||
TFORM1: 1PB(557) | ||
ZIMAGE: true | ||
ZTILE1: 576 | ||
ZTILE2: 1 | ||
ZCMPTYPE: RICE_1 | ||
ZNAME1: BLOCKSIZE | ||
ZVAL1: 32 | ||
ZNAME2: BYTEPIX | ||
ZVAL2: 4 | ||
ZTENSION: IMAGE | ||
ZBITPIX: 32 | ||
ZNAXIS: 2 | ||
ZNAXIS1: 576 | ||
ZNAXIS2: 2048 | ||
ZPCOUNT: 0 | ||
ZGCOUNT: 1 | ||
COMMENT: '---- Checksums ----' | ||
ZHECKSUM: biK5egK5bgK5bgK5 | ||
CHANNEL: 1 | ||
EXTNAME: Segment10 | ||
CCDSUM: 1 1 | ||
DATASEC: '[4:512,1:2000]' | ||
DETSEC: '[509:1,1:2000]' | ||
DETSIZE: '[1:4072,1:4000]' | ||
DTV1: 513 | ||
DTV2: 0 | ||
DTM1_1: -1.0 | ||
DTM2_2: 1.0 | ||
DTM1_2: 0.0 | ||
DTM2_1: 0.0 | ||
WCSNAMEA: AMPLIFIER | ||
CTYPE1A: Seg_X | ||
CTYPE2A: Seg_Y | ||
PC1_1A: 0.0 | ||
PC1_2A: -1.0 | ||
PC2_1A: -1.0 | ||
PC2_2A: 0.0 | ||
CDELT1A: 1.0 | ||
CDELT2A: 1.0 | ||
CRPIX1A: 0.0 | ||
CRPIX2A: 0.0 | ||
CRVAL1A: 2001.0 | ||
CRVAL2A: 513.0 | ||
WCSNAMEC: CCD | ||
CTYPE1C: CCD_X | ||
CTYPE2C: CCD_Y | ||
PC1_1C: 0.0 | ||
PC1_2C: -1.0 | ||
PC2_1C: -1.0 | ||
PC2_2C: 0.0 | ||
CDELT1C: 1.0 | ||
CDELT2C: 1.0 | ||
CRPIX1C: 0.0 | ||
CRPIX2C: 0.0 | ||
CRVAL1C: 4001.0 | ||
CRVAL2C: 513.0 | ||
WCSNAMER: RAFT | ||
CTYPE1R: RAFT_X | ||
CTYPE2R: RAFT_Y | ||
PC1_1R: 0.0 | ||
PC1_2R: -1.0 | ||
PC2_1R: -1.0 | ||
PC2_2R: 0.0 | ||
CDELT1R: 1.0 | ||
CDELT2R: 1.0 | ||
CRPIX1R: 0.0 | ||
CRPIX2R: 0.0 | ||
CRVAL1R: 4126.0 | ||
CRVAL2R: 602.0 | ||
WCSNAMEF: FOCAL_PLANE | ||
CTYPE1F: FP_X | ||
CTYPE2F: FP_Y | ||
PC1_1F: 0.0 | ||
PC1_2F: -1.0 | ||
PC2_1F: -1.0 | ||
PC2_2F: 0.0 | ||
CDELT1F: 1.0 | ||
CDELT2F: 1.0 | ||
CRPIX1F: 0.0 | ||
CRPIX2F: 0.0 | ||
CRVAL1F: 29526.0 | ||
CRVAL2F: 26002.0 | ||
WCSNAMEE: FP_SERPAR | ||
CTYPE1E: FP_S | ||
CTYPE2E: FP_P | ||
PC1_1E: -1.0 | ||
PC1_2E: 0.0 | ||
PC2_1E: 0.0 | ||
PC2_2E: -1.0 | ||
CDELT1E: 1.0 | ||
CDELT2E: 1.0 | ||
CRPIX1E: 0.0 | ||
CRPIX2E: 0.0 | ||
CRVAL1E: 26002.0 | ||
CRVAL2E: 29526.0 | ||
WCSNAMEB: CCD_SERPAR | ||
CTYPE1B: CCD_S | ||
CTYPE2B: CCD_P | ||
PC1_1B: -1.0 | ||
PC1_2B: 0.0 | ||
PC2_1B: 0.0 | ||
PC2_2B: -1.0 | ||
CDELT1B: 1.0 | ||
CDELT2B: 1.0 | ||
CRPIX1B: 0.0 | ||
CRPIX2B: 0.0 | ||
CRVAL1B: 513.0 | ||
CRVAL2B: 4001.0 | ||
WCSNAMEQ: RAFT_SERPAR | ||
CTYPE1Q: RAFT_S | ||
CTYPE2Q: RAFT_P | ||
PC1_1Q: -1.0 | ||
PC1_2Q: 0.0 | ||
PC2_1Q: 0.0 | ||
PC2_2Q: -1.0 | ||
CDELT1Q: 1.0 | ||
CDELT2Q: 1.0 | ||
CRPIX1Q: 0.0 | ||
CRPIX2Q: 0.0 | ||
CRVAL1Q: 602.0 | ||
CRVAL2Q: 4126.0 | ||
BSCALE: 1.0 | ||
BZERO: 0.0 | ||
ZDATASUM: '226966295' | ||
CHECKSUM: SammSYkjSakjSWkj | ||
DATASUM: '1153382584' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters