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-27170: Deprecate and phase out afw::image::Filter #280

Merged
merged 2 commits into from Jan 29, 2021

Conversation

parejkoj
Copy link
Contributor

@parejkoj parejkoj commented Jan 2, 2021

No description provided.

Copy link
Member

@kfindeisen kfindeisen left a comment

Choose a reason for hiding this comment

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

I'm worried these changes are a bit too wedded to the old Exposure, which must have a Filter even if no filter information is available. Why do three of the four test cases say "unknown"?

python/lsst/obs/lsst/lsstCamMapper.py Outdated Show resolved Hide resolved
tests/test_ingest.py Show resolved Hide resolved
@parejkoj
Copy link
Contributor Author

Answering your question re: "unknown" in the tests: that's what the filters in those files are called. I'm assuming this is very early data for those cameras and they came from before various headers were standardized.

Remove logic for filter lookup failures that will no longer trigger:
this depends on the old Filter singleton which no longer exists.
The filter name "unknown" in these cases comes from the files themselves.
@parejkoj parejkoj merged commit ecc98f4 into master Jan 29, 2021
@timj timj deleted the tickets/DM-27170 branch May 12, 2022 16:48
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

3 participants