Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-32298: Fake that all ComCam data is on the mountain for now #388

Merged
merged 1 commit into from
Jan 25, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 16 additions & 0 deletions python/lsst/obs/lsst/translators/comCam.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,19 @@ def fix_header(cls, header, instrument, obsid, filename=None):
modified = True

return modified

def _is_on_mountain(self):
"""Indicate whether these data are coming from the instrument
installed on the mountain.
Returns
-------
is : `bool`
`True` if instrument is on the mountain.

Notes
-----
TODO: DM-33387 This is currently a terrible hack and MUST be removed
once CAP-807 and CAP-808 are done.
Until then, ALL non-calib ComCam data will look like it is on sky.
"""
return True