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
Remove dependencies on the Legacy Surveys Gaia astrometry files #438
Conversation
…uch which HEALPixels
…ll of csv->fits->healpix
…ta Systems; use GAIA_DIR environment variable throughout
…project/projectdirs/desi/target/gaia_dr2
… passing it around
For the record, example output files are at NERSC in:
Which correspond to setting the |
Also, this should fix #437. |
This is fabulous, @geordie666. May I make a request for a data file that directly pertains to this PR and which would be very helpful for a higher level of realism in If this makes sense and is something you’d be willing to write and include here that’d be awesome. If not, no worries—it’s definitely something I can tackle separately. |
@moustakas please put your request into a new issue. Since we're about to lose @geordie666 for the holidays, I'm eager to get this merged and tagged so that we can get a new TS run to go along with 18.12. |
@moustakas: I think what you requested already exists in the
That's derived from the Gaia density in the https://github.com/desihub/desitarget/blob/master/py/desitarget/randoms.py#L531-L577 As a bonus, I think the code to upsample/downsample those pixweight files is already in https://github.com/desihub/desitarget/blob/master/py/desitarget/io.py#L907 Let me know if you need something else, though, and open a post-holidays issue for me. |
Remove dependencies on the Legacy Surveys Gaia astrometry files
This PR removes our reliance on Legacy Surveys chunked "astrom" files when handling Gaia data. Changes include:
$GAIA_DIR
environment variable instead of passing a Gaia directory around.$GAIA_DIR
. Including:desitarget
(the Legacy Surveys "astrom" files used the RING scheme).TYPE
toMORPHTYPE
for GFA targets.