Skip to content

Commit

Permalink
Merge pull request #560 from lsst/tickets/DM-43620
Browse files Browse the repository at this point in the history
DM-43620: Add butler ingest-guider command and associated ingest function
  • Loading branch information
timj authored Nov 6, 2024
2 parents 71b734d + 852d516 commit 7df346c
Show file tree
Hide file tree
Showing 16 changed files with 3,845 additions and 18 deletions.
2 changes: 1 addition & 1 deletion SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ from lsst.sconsUtils import scripts
# will guarantee to be complete before tests run.
targetList = ("version", "shebang", "policy",) + scripts.DEFAULT_TARGETS

scripts.BasicSConstruct("obs_lsst", disableCc=True, defaultTargets=targetList)
scripts.BasicSConstruct("obs_lsst", disableCc=True, defaultTargets=targetList, noCfgFile=True)
603 changes: 603 additions & 0 deletions data/input/guider/guider_data/MC_C_20230616_000013_R04_SG0.fits

Large diffs are not rendered by default.

2,353 changes: 2,353 additions & 0 deletions data/input/guider/guider_data/MC_C_20240918_000013_R00_SG0_guider.fits

Large diffs are not rendered by default.

104 changes: 104 additions & 0 deletions data/input/guider/guider_data/MC_C_20240918_000013_R00_SG0_guider.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
{
"__CONTENT__" : "metadata",
"SIMPLE" : true,
"BITPIX" : 8,
"NAXIS" : 0,
"EXTEND" : true,
"BINX" : 1,
"BINY" : 1,
"CCDGAIN" : 1.0,
"CCDNOISE" : 10.0,
"DETSIZE" : "[1:4072,1:4000]",
"DATE" : "2024-09-18T13:51:28.532",
"MJD" : 60571.57741356501,
"IMGTYPE" : "UNKNOWN",
"OBSID" : "MC_C_20240918_000013",
"BUNIT" : "adu",
"TIMESYS" : "TAI",
"INSTRUME" : "lsstCam",
"TELESCOP" : "Simonyi Survey Telescope",
"OBS-LONG" : null,
"OBS-LAT" : null,
"OBS-ELEV" : null,
"OBSGEO-X" : null,
"OBSGEO-Y" : null,
"OBSGEO-Z" : null,
"RA" : null,
"DEC" : null,
"RASTART" : null,
"DECSTART" : null,
"RAEND" : null,
"DECEND" : null,
"ROTPA" : null,
"ROTCOORD" : null,
"HASTART" : null,
"ELSTART" : null,
"AZSTART" : null,
"AMSTART" : null,
"HAEND" : null,
"ELEND" : null,
"AZEND" : null,
"AMEND" : null,
"TRACKSYS" : null,
"RADESYS" : null,
"FOCUSZ" : null,
"OBJECT" : null,
"VIGNETTE" : null,
"VIGN_MIN" : null,
"CAMCODE" : "MC",
"CONTRLLR" : "C",
"DAYOBS" : "20240918",
"SEQNUM" : 13,
"PROGRAM" : null,
"REASON" : null,
"TSTAND" : "BOT",
"CCD_MANU" : "ITL",
"CCD_TYPE" : "3800C",
"CCDSLOT" : "SG0",
"RAFTBAY" : "R00",
"FIRMWARE" : "2139210b",
"PLATFORM" : "lsstcam",
"CONTNUM" : "10000",
"DAQVERS" : "R5-V11.3 2024-09-16T15:03:01Z (10c5a519)",
"DAQPART" : "guider",
"LSST_NUM" : "ITL-3800C-397",
"CCD_SERN" : "24778",
"REBNAME" : "LCA-13540-05",
"RAFTNAME" : "LCA-10692_CRTM-0002",
"FPVERS" : "1.2.8",
"IHVERS" : "1.1.6",
"FILTBAND" : "other:ef",
"FILTER" : "ef_43",
"FILTPOS" : "190.0",
"FILTSLOT" : "5",
"SHUTTIME" : null,
"AIRTEMP" : null,
"PRESSURE" : null,
"HUMIDITY" : null,
"WINDSPD" : null,
"WINDDIR" : null,
"SEEING" : null,
"HEADVER" : 2,
"FILENAME" : "MC_C_20240918_000013_R00_SG0_guider.fits",
"HIERARCH.STUTTER.ROWS" : null,
"HIERARCH.STUTTER.DELAY" : null,
"HIERARCH.STUTTER.NSHIFTS" : null,
"ROICOL" : 254,
"ROIROW" : 975,
"ROICOLS" : 50,
"ROIROWS" : 100,
"ROISEG" : "Segment03",
"GDSSEQ" : 2178,
"GDSSTART" : "2024-09-18T13:51:28.474",
"ROIUNDER" : 3,
"ROISPLIT" : false,
"ROICCDTY" : 0,
"ROIMILLI" : 50,
"N_STAMPS" : 102,
"HIERARCH.HAS_ARCHIVE" : false,
"HAS_MASK" : false,
"HIERARCH.HAS_VARIANCE" : false,
"STAMPCLS" : "lsst.meas.algorithms.Stamps",
"CHECKSUM" : "9NhUELeS9LeSCLeS",
"DATASUM" : "0"
}
Empty file.
117 changes: 117 additions & 0 deletions data/input/guider/raw/MC_C_20240918_000013_R42_S11.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
{
"__CONTENT__" : "metadata",
"SIMPLE" : true,
"BITPIX" : 8,
"NAXIS" : 0,
"EXTEND" : true,
"BINX" : 1,
"BINY" : 1,
"CCDGAIN" : 1.0,
"CCDNOISE" : 10.0,
"DETSIZE" : "[1:4072,1:4000]",
"DATE" : "2024-09-18T13:51:43.567",
"MJD" : 60571.57758758124,
"IMGTYPE" : "test",
"DATE-OBS" : "2024-09-18T13:51:28.552",
"MJD-OBS" : 60571.57741379645,
"DATE-TRG" : "2024-09-18T13:51:43.558",
"MJD-TRG" : 60571.57758747693,
"OBSID" : "MC_C_20240918_000013",
"DATE-BEG" : "2024-09-18T13:51:28.552",
"MJD-BEG" : 60571.57741379645,
"DATE-END" : "2024-09-18T13:51:43.566",
"MJD-END" : 60571.5775875696,
"BUNIT" : "adu",
"TIMESYS" : "TAI",
"INSTRUME" : "lsstCam",
"TELESCOP" : "Simonyi Survey Telescope",
"OBS-LONG" : null,
"OBS-LAT" : null,
"OBS-ELEV" : null,
"OBSGEO-X" : null,
"OBSGEO-Y" : null,
"OBSGEO-Z" : null,
"RA" : null,
"DEC" : null,
"RASTART" : null,
"DECSTART" : null,
"RAEND" : null,
"DECEND" : null,
"ROTPA" : null,
"ROTCOORD" : null,
"HASTART" : null,
"ELSTART" : null,
"AZSTART" : null,
"AMSTART" : null,
"HAEND" : null,
"ELEND" : null,
"AZEND" : null,
"AMEND" : null,
"TRACKSYS" : null,
"RADESYS" : null,
"FOCUSZ" : null,
"OBJECT" : null,
"VIGNETTE" : null,
"VIGN_MIN" : null,
"CAMCODE" : "MC",
"CONTRLLR" : "C",
"DAYOBS" : "20240918",
"SEQNUM" : 13,
"PROGRAM" : null,
"REASON" : null,
"TSTAND" : "BOT",
"IMAGETAG" : "9ed93596f39ab9c0",
"OBSANNOT" : "Guiding Test",
"CCD_MANU" : "ITL",
"CCD_TYPE" : "3800C",
"CCDSLOT" : "S11",
"RAFTBAY" : "R42",
"FIRMWARE" : "3139500e",
"PLATFORM" : "lsstcam",
"CONTNUM" : "18ee3e34",
"DAQVERS" : "R5-V10.8 2024-09-04T15:22:30Z (d2bcf37f)",
"DAQPART" : "camera",
"DAQFOLD" : "raw",
"SEQFILE" : "FP_ITL_2s_ir2_v26_no_RG.seq",
"SEQNAME" : "FP_ITL_2s_ir2_v26_no_RG.seq",
"SEQCKSUM" : "1477162166",
"LSST_NUM" : "ITL-3800C-110",
"CCD_SERN" : "26145",
"REBNAME" : "LCA-13574-084",
"RAFTNAME" : "LCA-11021_RTM-018",
"FPVERS" : "1.2.8",
"IHVERS" : "1.1.6",
"FILTBAND" : "other:ef",
"FILTER" : "ef_43",
"FILTPOS" : "190.0",
"FILTSLOT" : "5",
"EXPTIME" : 15.0,
"DARKTIME" : 15.0132,
"SHUTTIME" : null,
"AIRTEMP" : null,
"PRESSURE" : null,
"HUMIDITY" : null,
"WINDSPD" : null,
"WINDDIR" : null,
"SEEING" : null,
"HEADVER" : 2,
"FILENAME" : "MC_C_20240918_000013_R42_S11.fits",
"HIERARCH.STUTTER.ROWS" : null,
"HIERARCH.STUTTER.DELAY" : null,
"HIERARCH.STUTTER.NSHIFTS" : null,
"TEMPLED1" : null,
"TEMPLED2" : null,
"TEMPBRD" : null,
"CCOBLED" : null,
"CCOBCURR" : null,
"CCOBADC" : null,
"CCOBFLST" : null,
"PROJTIME" : null,
"CCOBFLUX" : null,
"DATEPBEG" : null,
"MJDPBEG" : null,
"DATEPEND" : null,
"MJDPEND" : null,
"CHECKSUM" : "3aPY5UMW3aMW3UMW",
"DATASUM" : "0"
}
1 change: 1 addition & 0 deletions python/lsst/obs/lsst/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@
from ._fitsHeader import *
from ._ingestPhotodiode import *
from ._packer import *
from ._ingest_guider import ingest_guider
Loading

0 comments on commit 7df346c

Please sign in to comment.