Skip to content

Commit

Permalink
Use FilterLabel to persist Filter component of Exposure.
Browse files Browse the repository at this point in the history
This change makes it easier to support ExposureInfo v2. Code in afw
takes care of backward-compatibility with older Exposure files.
  • Loading branch information
kfindeisen committed Nov 26, 2020
1 parent a61a244 commit 0d111f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions python/lsst/daf/butler/configs/datastores/formatters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ CoaddInputs: lsst.obs.base.formatters.fitsGeneric.FitsGenericFormatter
VisitInfo: lsst.obs.base.formatters.fitsGeneric.FitsGenericFormatter
ApCorr: lsst.obs.base.formatters.fitsGeneric.FitsGenericFormatter
PhotoCalib: lsst.obs.base.formatters.fitsGeneric.FitsGenericFormatter
FilterLabel: lsst.obs.base.formatters.fitsGeneric.FitsGenericFormatter
TransmissionCurve: lsst.obs.base.formatters.fitsGeneric.FitsGenericFormatter
Camera: lsst.obs.base.formatters.fitsGeneric.FitsGenericFormatter
Detector: lsst.obs.base.formatters.fitsGeneric.FitsGenericFormatter
Expand Down
4 changes: 3 additions & 1 deletion python/lsst/daf/butler/configs/storageClasses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ storageClasses:
pytype: lsst.ip.isr.CrosstalkCalib
Filter:
pytype: lsst.afw.image.Filter
FilterLabel:
pytype: lsst.afw.image.FilterLabel
Exposure:
pytype: lsst.afw.image.Exposure
delegate: lsst.obs.base.exposureAssembler.ExposureAssembler
Expand All @@ -123,7 +125,7 @@ storageClasses:
coaddInputs: CoaddInputs
transmissionCurve: TransmissionCurve
metadata: PropertyList
filter: Filter
filter: FilterLabel
detector: Detector
validPolygon: Polygon
derivedComponents:
Expand Down

0 comments on commit 0d111f8

Please sign in to comment.