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-39999: Add UC Davis Beam simulator ITL camera #462

Merged
merged 19 commits into from Jan 18, 2024
Merged

Conversation

Snyder005
Copy link
Collaborator

Add UC Davis Beam Simulator ITL Camera to obs_lsst.

@timj timj changed the title Tickets/dm 39999 DM-39999: Add UC Davis Beam simulator ITL camera Jul 12, 2023
Copy link
Member

@timj timj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Jira ticket does not make it clear but this PR is going to result in the older data not being importable into gen3 butlers. Is everyone okay with that? Today the "SAO" test stand data can be ingested but next week it won't be. As an archivist this seems wrong to me but if people are deleting all that data then that's going to be okay.

We can't merge this PR without some test headers being added to ensure that these files can be translated properly.

python/lsst/obs/lsst/translators/lsst_ucdcam.py Outdated Show resolved Hide resolved
tests/test_translator.py Show resolved Hide resolved
@Snyder005 Snyder005 requested a review from timj January 10, 2024 21:09
@Snyder005
Copy link
Collaborator Author

Added test headers and wrote the test translator function for the new LSST-UCDCam camera definition.

@timj
Copy link
Member

timj commented Jan 10, 2024

Can you confirm that the old data that this code worked with before will never needed to be looked at again? I'm yet to get a formal statement that those data are now irrelevant and nothing will need to look at them.

@Snyder005
Copy link
Collaborator Author

Yes, the old data was only used by a few of us here at Davis and was never made available at USDF. We don't intend to use it within the DM Butler framework again.

Copy link
Member

@timj timj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the changes. I've made some minor comments but I would like the class moved back where it was if possible to show that the changes are small.

python/lsst/obs/lsst/_instrument.py Outdated Show resolved Hide resolved
python/lsst/obs/lsst/translators/lsst_ucdcam.py Outdated Show resolved Hide resolved
instrume = header["INSTRUME"].lower()
if instrume == cls.supported_instrument.lower():
return True
elif instrume == "LSST-UCDCam-ITL".lower():
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If ever we learn that this is a hotspot we could replace the string with "lsst-ucdcam-itl"...

tests/test_gen3.py Show resolved Hide resolved
@Snyder005 Snyder005 merged commit bdc861c into main Jan 18, 2024
3 checks passed
@Snyder005 Snyder005 deleted the tickets/DM-39999 branch January 18, 2024 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants