# Script, written as a bash script, to provide curl commands for all associated data products.


#        Raw QUIET Maps (Healpix)
curl -s --retry 5 -k -o quiet_qband_G-1_map_v2.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIET/quiet_qband_G-1_map_v2.fits
curl -s --retry 5 -k -o quiet_qband_G-2_map_v2.fits  https://lambda.gsfc.nasa.gov/data/suborbital/QUIET/quiet_qband_G-2_map_v2.fits 
curl -s --retry 5 -k -o quiet_wband_G-1_map_v2.fits  https://lambda.gsfc.nasa.gov/data/suborbital/QUIET/quiet_wband_G-1_map_v2.fits 
curl -s --retry 5 -k -o quiet_wband_G-2_map_v2.fits  https://lambda.gsfc.nasa.gov/data/suborbital/QUIET/quiet_wband_G-2_map_v2.fits 

#        Covariance Matrices for Raw QUIET Maps
curl -s --retry 5 -k -o quiet_qband_G-1_Ncov_v1.hdf https://lambda.gsfc.nasa.gov/data/suborbital/QUIET/quiet_qband_G-1_Ncov_v1.hdf
curl -s --retry 5 -k -o quiet_qband_G-2_Ncov_v1.hdf https://lambda.gsfc.nasa.gov/data/suborbital/QUIET/quiet_qband_G-2_Ncov_v1.hdf
curl -s --retry 5 -k -o quiet_wband_G-1_Ncov_v1.hdf https://lambda.gsfc.nasa.gov/data/suborbital/QUIET/quiet_wband_G-1_Ncov_v1.hdf
curl -s --retry 5 -k -o quiet_wband_G-2_Ncov_v1.hdf https://lambda.gsfc.nasa.gov/data/suborbital/QUIET/quiet_wband_G-2_Ncov_v1.hdf

#        Co-added QUIET+WMAP Maps (Healpix)
curl -s --retry 5 -k -o quiet_WMAPcoadd_qband_G-1_map_v2.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIET/quiet_WMAPcoadd_qband_G-1_map_v2.fits
curl -s --retry 5 -k -o quiet_WMAPcoadd_qband_G-2_map_v2.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIET/quiet_WMAPcoadd_qband_G-2_map_v2.fits
curl -s --retry 5 -k -o quiet_WMAPcoadd_wband_G-1_map_v2.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIET/quiet_WMAPcoadd_wband_G-1_map_v2.fits
curl -s --retry 5 -k -o quiet_WMAPcoadd_wband_G-2_map_v2.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIET/quiet_WMAPcoadd_wband_G-2_map_v2.fits

#        Covariance Matrices for Co-added QUIET+WMAP Maps
curl -s --retry 5 -k -o quiet_WMAPcoadd_qband_G-1_Ncov_v1.hdf https://lambda.gsfc.nasa.gov/data/suborbital/QUIET/quiet_WMAPcoadd_qband_G-1_Ncov_v1.hdf
curl -s --retry 5 -k -o quiet_WMAPcoadd_qband_G-2_Ncov_v1.hdf https://lambda.gsfc.nasa.gov/data/suborbital/QUIET/quiet_WMAPcoadd_qband_G-2_Ncov_v1.hdf
curl -s --retry 5 -k -o quiet_WMAPcoadd_wband_G-1_Ncov_v1.hdf https://lambda.gsfc.nasa.gov/data/suborbital/QUIET/quiet_WMAPcoadd_wband_G-1_Ncov_v1.hdf
curl -s --retry 5 -k -o quiet_WMAPcoadd_wband_G-2_Ncov_v1.hdf https://lambda.gsfc.nasa.gov/data/suborbital/QUIET/quiet_WMAPcoadd_wband_G-2_Ncov_v1.hdf

#        Mask Files (Healpix)
curl -s --retry 5 -k -o quiet_qband_G-1_mask_v2.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIET/quiet_qband_G-1_mask_v2.fits
curl -s --retry 5 -k -o quiet_qband_G-2_mask_v2.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIET/quiet_qband_G-2_mask_v2.fits
curl -s --retry 5 -k -o quiet_wband_G-1_mask_v2.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIET/quiet_wband_G-1_mask_v2.fits
curl -s --retry 5 -k -o quiet_wband_G-2_mask_v2.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIET/quiet_wband_G-2_mask_v2.fits
