Skip to content

Commit

Permalink
Merge pull request #480 from lsst/tickets/DM-43103
Browse files Browse the repository at this point in the history
DM-43103: Add support for can_see_sky metadata on ingest
  • Loading branch information
timj authored Mar 28, 2024
2 parents 9e0099b + c22a71e commit a7fea70
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 a7fea70

Please sign in to comment.