Skip to content

Commit

Permalink
Add support for can_see_sky metadata on ingest
Browse files Browse the repository at this point in the history
  • Loading branch information
timj committed Mar 20, 2024
1 parent db2fd59 commit 105eba1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/lsst/obs/base/_instrument.py
Original file line number Diff line number Diff line change
Expand Up @@ -625,6 +625,7 @@ def makeExposureRecordFromObsInfo(
("has_simulated", "has_simulated_content"),
("seq_start", "group_counter_start"),
("seq_end", "group_counter_end"),
("can_see_sky", "can_see_sky"),
):
if meta_key in supported:
extras[meta_key] = getattr(obsInfo, info_key)
Expand Down
1 change: 1 addition & 0 deletions python/lsst/obs/base/ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,7 @@ def getObservationInfoSubsets(cls) -> tuple[set, set]:
"observing_day_offset",
"science_program",
"visit_id",
"can_see_sky",
}
return required, optional

Expand Down

0 comments on commit 105eba1

Please sign in to comment.