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

Support supplemental sky targets #241

Merged
merged 3 commits into from Dec 24, 2019
Merged

Support supplemental sky targets #241

merged 3 commits into from Dec 24, 2019

Conversation

tskisner
Copy link
Member

@tskisner tskisner commented Dec 5, 2019

This adds support for a new target type (SUPPSKY). These targets are assigned after normal SKY targets in order to meet the per-petal sky budget requirement. The unit tests verify that in the case of under-dense sky targets, the suppsky targets are used instead. See attached plot generated by the unit tests (blue == normal sky, cyan == suppsky).

This support in fiberassign requires that input targets can be differentiated between sky and suppsky. I believe that current target files in use make this challenging (by setting both SKY and 'SUPP_SKY` target bits).

This PR should not be merged until that issue is clarified.

@tskisner
Copy link
Member Author

tskisner commented Dec 5, 2019

fba-011108.pdf

@tskisner
Copy link
Member Author

I will rebase this and resolve the recently introduced conflict, but it would be good to merge this soon since it touches many files. @geordie666 and @Srheft , let me know when there are SUPP_SKY target files "in the wild" that have the SUPP_SKY bit set and the SKY bit un-set.

@tskisner
Copy link
Member Author

The travis failure is fixed in #246. Will rebase this again after that is merged.

…his is needed since we want this target type to count towards the per-petal sky assignment totals. Add suppsky targets to unit tests.
@geordie666
Copy link

@tskisner: The latest SUPP_SKY files at:

/project/projectdirs/desi/target/catalogs/dr8/0.35.1/skies/skies-supp

have the necessary changes to the SKY/SUPP_SKY bits.

@tskisner
Copy link
Member Author

OK, perfect. Merging now.

@tskisner tskisner merged commit 481bb57 into master Dec 24, 2019
@tskisner tskisner deleted the suppsky branch December 24, 2019 19:01
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