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

fix tiles2pix docstring and allow TILERA,TILEDEC #156

Merged
merged 1 commit into from Jan 19, 2022
Merged

Conversation

sbailey
Copy link
Contributor

@sbailey sbailey commented Jan 14, 2022

This PR corrects the docstring for desimodel.footprint.tiles2pix (it takes a tiles table, not an array of tileids like tileids2pix). It also adds support for TILERA, TILEDEC columns instead of RA, DEC, and adds support for dictionary-like input. New tests confirm RA,DEC vs. TILERA,TILEDEC, and support for numpy structured arrays, astropy Tables, and dictionary inputs.

This would be convenient but not strictly necessary to use for Fuji healpix bookkeeping. I'll self merge when needed if I don't get comments.

Note: the desimodel tiles file is deprecated and very out of date; I didn't try to remove that in this PR so that I don't accidentally break something else, but the intended usage here is to pass in a new tiles table, e.g. the tiles that are included in a production run, or one of the tiles tables in svn surveyops/ops .

@sbailey sbailey added this to In progress in Fuji via automation Jan 14, 2022
@sbailey sbailey merged commit d18fc5a into master Jan 19, 2022
Fuji automation moved this from In progress to Done Jan 19, 2022
@sbailey sbailey deleted the tiles2pix branch January 19, 2022 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Fuji
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

1 participant