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

Add healpix map interface #133

Open
kadrlica opened this issue Jul 25, 2017 · 1 comment
Open

Add healpix map interface #133

kadrlica opened this issue Jul 25, 2017 · 1 comment

Comments

@kadrlica
Copy link
Collaborator

I think the current plan for DES is to use the Oracle database as the primary repository for healpix maps. In order to facilitate user access to these maps, I think we want to provide a set of upload_map and download_map functions.

upload_map: Allow a user to upload a healpix map to the DESDM database. Would automatically take care of explicit pixel specification scheme and converting to nested formatting (the "standard" for DESDM healpix maps). Would be accessible from the command line and would take the map filename and desired tablename as inputs. Everything else could be dealt with under the hood with healpy. It would also be nice for this function to automatically set some of the table description information based on information collected from the uploaded file.

download_map: Wrapper to download a map into a fits (or fits.gz) file. Would automatically take care of converting to implicit pixel specification, nside specification, and ring/nest conversion. Would be accessible from the command line and would take as input the tablename and output filename, with options for ring/nest formatting. Most things would be dealt with by healpy under the hood.

@mgckind
Copy link
Owner

mgckind commented Jul 26, 2017

I think this is great, and in additions we can add some other handling healpix functions wrapped up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants