desihub / desitarget

DESI Targeting
BSD 3-Clause "New" or "Revised" License
18 stars 23 forks source link

Functionality to download and reformat files for Gaia DR3 #796

Closed geordie666 closed 2 years ago

geordie666 commented 2 years ago

This PR augments existing functionality to download Gaia files (DR2/EDR3) to add Gaia DR3. Changes are fairly minimal, and are mostly to handle new Gaia syntax, so I'll self-merge in a day or two.

The only major addition is an option to "mop up" files when converting between the scraped Gaia csv files and FITS files (in the gaia_csv_to_fits() function). It's now possible to run that conversion piecemeal, which is convenient as it takes a little over 4 hours on an interactive node to process all of the Gaia DR3 files.