Skip to content

Commit

Permalink
Merge branch 'tickets/DM-21915'
Browse files Browse the repository at this point in the history
  • Loading branch information
kfindeisen committed Jul 14, 2020
2 parents 950faa2 + 775f44f commit 66db125
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 25 deletions.
44 changes: 22 additions & 22 deletions config/export.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ data:
- type: dimension
element: calibration_label
records:
- instrument: LSST-ImSim
name: gen2/flat_2022-08-06_037_i
datetime_begin: 1995-03-21 23:59:31
datetime_end: 2049-12-21 23:59:23
- instrument: LSST-ImSim
name: gen2/bias_2022-01-01_037
datetime_begin: 1994-08-16 23:59:31
datetime_end: 2049-05-18 23:59:23
- instrument: LSST-ImSim
name: gen2/flat_2022-08-06_037_i
datetime_begin: 1995-03-21 23:59:31
datetime_end: 2049-12-21 23:59:23
- instrument: LSST-ImSim
name: unbounded
datetime_begin: 1969-12-31 23:59:51.999918
Expand All @@ -46,62 +46,62 @@ data:
- calibration_label
storage_class: Camera
- type: run
name: calib/LSST-ImSim
name: LSST-ImSim/calib
- type: dataset
dataset_type: camera
run: calib/LSST-ImSim
run: LSST-ImSim/calib
records:
- dataset_id:
- 1
data_id:
- instrument: LSST-ImSim
calibration_label: unbounded
path: calib/LSST-ImSim/camera/camera_unbounded_LSST-ImSim_calib_LSST-ImSim.fits
path: LSST-ImSim/calib/camera/camera_unbounded_LSST-ImSim_LSST-ImSim_calib.fits
formatter: lsst.obs.base.formatters.fitsGeneric.FitsGenericFormatter
- type: dataset_type
name: flat
name: bias
dimensions:
- abstract_filter
- instrument
- calibration_label
- detector
- physical_filter
storage_class: ExposureF
- type: run
name: calib/LSST-ImSim
name: LSST-ImSim/calib
- type: dataset
dataset_type: flat
run: calib/LSST-ImSim
dataset_type: bias
run: LSST-ImSim/calib
records:
- dataset_id:
- 2
data_id:
- instrument: LSST-ImSim
calibration_label: gen2/flat_2022-08-06_037_i
calibration_label: gen2/bias_2022-01-01_037
detector: 37
physical_filter: i
path: calib/LSST-ImSim/flat/i/i/flat_i_i_gen2_flat_2022-08-06_037_i_37_LSST-ImSim_calib_LSST-ImSim.fits
path: LSST-ImSim/calib/bias/bias_gen2_bias_2022-01-01_037_37_LSST-ImSim_LSST-ImSim_calib.fits
formatter: lsst.obs.base.formatters.fitsExposure.FitsExposureFormatter
- type: dataset_type
name: bias
name: flat
dimensions:
- abstract_filter
- instrument
- calibration_label
- detector
- physical_filter
storage_class: ExposureF
- type: run
name: calib/LSST-ImSim
name: LSST-ImSim/calib
- type: dataset
dataset_type: bias
run: calib/LSST-ImSim
dataset_type: flat
run: LSST-ImSim/calib
records:
- dataset_id:
- 3
data_id:
- instrument: LSST-ImSim
calibration_label: gen2/bias_2022-01-01_037
calibration_label: gen2/flat_2022-08-06_037_i
detector: 37
path: calib/LSST-ImSim/bias/bias_gen2_bias_2022-01-01_037_37_LSST-ImSim_calib_LSST-ImSim.fits
physical_filter: i
path: LSST-ImSim/calib/flat/i/i/flat_i_i_gen2_flat_2022-08-06_037_i_37_LSST-ImSim_LSST-ImSim_calib.fits
formatter: lsst.obs.base.formatters.fitsExposure.FitsExposureFormatter
- type: dataset_type
name: gaia
Expand Down
4 changes: 2 additions & 2 deletions preloaded/gen3.sqlite3
Git LFS file not shown
2 changes: 1 addition & 1 deletion scripts/add_gen3_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def main():

log.info("Converting calibs...")
with tempfile.TemporaryDirectory() as tmp:
workspace = ap_verify.workspace.Workspace(tmp)
workspace = ap_verify.workspace.WorkspaceGen2(tmp)
ap_verify.ingestion.ingestDataset(dataset, workspace)

gen2_repo = workspace.dataRepo
Expand Down

0 comments on commit 66db125

Please sign in to comment.