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

Functionality to split random catalogs by HEALPixel #783

Merged
merged 7 commits into from Dec 20, 2021
Merged

Conversation

geordie666
Copy link
Contributor

This PR adds functions and a command-line script to split random catalogs by HEALPixel. The resulting directory of HEALPixel-split random catalogs can be read using routines in desitarget.io such as read_targets_in_tiles().

Splitting takes about 2.5 hours on an interactive node for the typical random catalog size of ~930 million randoms.

@geordie666
Copy link
Contributor Author

@ashleyjross: I've created a full set of example files in:

/global/cscratch1/sd/adamyers/forashley/dr9/2.3.0.dev5334/randoms/resolve/

I've verified that many of the desitarget.io routines work with this data model for the randoms. For example (after reading some tiles of interest into tiles):

hpdirname = "/global/cscratch1/sd/adamyers/forashley/dr9/2.3.0.dev5334/randoms/resolve/"
io.read_targets_in_tiles(hpdirname, tiles=tiles)   

but it would be useful if you can check everything works as expected for LSS catalog creation.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 56.533% when pulling 605d478 on ADM-pix-rands into 3cf1c4b on master.

@ashleyjross
Copy link

ashleyjross commented Dec 18, 2021 via email

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