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-32330: Register DECam narrow-band filters in skymap #55

Merged
merged 1 commit into from Oct 26, 2021

Conversation

leeskelvin
Copy link
Contributor

No description provided.

Copy link
Member

@TallJimbo TallJimbo left a comment

Choose a reason for hiding this comment

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

Makes me a little sad to have to add more

(ignore this; early draft that I lost track of)

@@ -41,6 +41,7 @@ class SkyMapDimensionPacker(DimensionPacker):
[None]
+ list("ugrizyUBGVRIZYJHK") # split string into single chars
+ [f"N{d}" for d in (387, 515, 656, 816, 921, 1010)] # HSC narrow-bands
+ [f"N{d}" for d in (419, 540, 708, 964)] # DECam narrow-bands
Copy link
Member

Choose a reason for hiding this comment

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

My only concern is that this may change some per-band coadd object IDs and/or RNG seeds, because it changes the maximum number of bits the data ID portion can occupy. I don't think that can be avoided, but I hope that doesn't cause trouble for @laurenam in the form of making Gen2 and Gen3 different. I think on a recent ticket I helped her make the Gen2 code use this logic, so if that recollection is correct, we should be safe.

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for the heads-up. I am indeed making use of the code you gave me to use the Gen3 logic in Gen2, so hopefully all is good. I’ll keep my eye out…

@leeskelvin leeskelvin merged commit ec4f438 into master Oct 26, 2021
@leeskelvin leeskelvin deleted the tickets/DM-32330 branch October 26, 2021 17:35
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