Skip to content

Commit

Permalink
Add exposure.can_see_sky metadata field
Browse files Browse the repository at this point in the history
  • Loading branch information
timj committed Mar 19, 2024
1 parent fd4a59f commit 649e46e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions doc/lsst.daf.butler/dimensions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,7 @@ The default namespace has had the following version changes:
4. Added "populated_by" information to visit fields to allow related dimensions to be discovered automatically.
5. Changed the length of the ``instrument.name`` field from 16 to 32 characters.
6. Made ``day_obs`` and ``group`` full dimensions.
7. Added ``can_see_sky`` metadata field to ``exposure``.
This field can indicate whether the detector received photons from the sky taking into account the camera shutter and the dome and telescope alignment.

Prior to October 2020 there were no version numbers for the dimension universe.
9 changes: 8 additions & 1 deletion python/lsst/daf/butler/configs/dimensions.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 6
version: 7
namespace: daf_butler
skypix:
# 'common' is the skypix system and level used to relate all other spatial
Expand Down Expand Up @@ -312,6 +312,13 @@ elements:
This can be if the data itself were simulated or if
parts of the header came from simulated systems, such as observations
in the lab that are recorded as on-sky.
- name: can_see_sky
type: bool
doc: >
True if the detector could see the sky during this exposure. This
can be used to definitively determine whether an observation was
on sky, taking into account dome state as well as camera shutter.
storage:
cls: lsst.daf.butler.registry.dimensions.table.TableDimensionRecordStorage

Expand Down

0 comments on commit 649e46e

Please sign in to comment.