To download DESI-EDR data, use the desi_get_dr_subset
script with these simple steps:
Clone the repository if you don't have it:
git clone https://github.com/desihub/desida.git
cd desida/bin
Run the script with EDR flag:
python desi_get_dr_subset --dr edr
This will download EDR data centered on the default coordinates (RA=179.6, Dec=0.0) which corresponds to the Rosette 1 field. It will:
- Download the redshift catalog
- Find the healpix with most targets in that region (typically 26965)
- Download all spectra for that healpix
- Download associated tile data
The data will be saved to a folder called ./tiny_edr
in your current directory. If you need data from a different sky region, you can specify coordinates with --ra
, --dec
, and --radius
parameters.