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-28459: Standardize LSSTCam and LATISS filter band derivations #287

Merged
merged 7 commits into from Feb 10, 2021

Conversation

timj
Copy link
Member

@timj timj commented Feb 9, 2021

No description provided.

Without this the band inheritst the full physical_filter~grating
default.
none is an alias for empty. If we have any data files
that say "none" for the grating we should use the
metadata translator to correct them to empty.
Without specifying a band the band becomes the physical_filter~grating
string and multiplies rapidly. An alternative is to use the
non-band physical filter name as the band without using the
grating value if the band is missing.
so change the special blank filter to white band
Stop trying to keep track of aliases since those are specifically
a feature for deprecated afwFilter.

Simplify band assignments for ND to use a generic ~nd band
modifier.
diffuser was only used in lab testing without a grating
Comment on lines +236 to +239
# The diffuser "filter" was never used with gratings
# so skip it
if filter.physical_filter == "diffuser":
continue
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this is likely fine, I just worry that just because that wasn't happened to date, that doesn't mean it never will in future. But I think this is probably fine for now, give we're really trying to keep the numbers down.

Copy link
Member Author

Choose a reason for hiding this comment

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

If new diffuser data turns up we can sort it out at the time.

@timj timj merged commit 4e19bb3 into master Feb 10, 2021
@timj timj deleted the tickets/DM-28459 branch February 10, 2021 20:19
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