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


#        Explanatory Supplement
curl -s --retry 5 -k -o QUIJOTE_MFI_DR1_Explanatory_Supplement_v1.1.pdf https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/QUIJOTE_MFI_DR1_Explanatory_Supplement_v1.1.pdf
curl -s --retry 5 -k -o QUIJOTE_MFI_DR1_Explanatory_Supplement_v1.pdf https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/QUIJOTE_MFI_DR1_Explanatory_Supplement_v1.pdf

#        Sky Maps
curl -s --retry 5 -k -o quijote_mfi_skymap_11ghz_512_dr1.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/quijote_mfi_skymap_11ghz_512_dr1.fits
curl -s --retry 5 -k -o quijote_mfi_skymap_13ghz_512_dr1.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/quijote_mfi_skymap_13ghz_512_dr1.fits
curl -s --retry 5 -k -o quijote_mfi_skymap_17ghz_512_dr1.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/quijote_mfi_skymap_17ghz_512_dr1.fits
curl -s --retry 5 -k -o quijote_mfi_skymap_19ghz_512_dr1.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/quijote_mfi_skymap_19ghz_512_dr1.fits
curl -s --retry 5 -k -o quijote_mfi_smth_skymap_11ghz_512_dr1.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/quijote_mfi_smth_skymap_11ghz_512_dr1.fits
curl -s --retry 5 -k -o quijote_mfi_smth_skymap_13ghz_512_dr1.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/quijote_mfi_smth_skymap_13ghz_512_dr1.fits
curl -s --retry 5 -k -o quijote_mfi_smth_skymap_17ghz_512_dr1.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/quijote_mfi_smth_skymap_17ghz_512_dr1.fits
curl -s --retry 5 -k -o quijote_mfi_smth_skymap_19ghz_512_dr1.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/quijote_mfi_smth_skymap_19ghz_512_dr1.fits

#        Source Catalogs
curl -s --retry 5 -k -o quijote_mfi_psc_main_dr1.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/catalogues/quijote_mfi_psc_main_dr1.fits
curl -s --retry 5 -k -o quijote_mfi_psc_extended_dr1.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/catalogues/quijote_mfi_psc_extended_dr1.fits

#        Polarized Component Separation Output Maps
curl -s --retry 5 -k -o CMB_quijote_mfi_cs_pol_64_dr1.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/compsep/pol/CMB_quijote_mfi_cs_pol_64_dr1.fits
curl -s --retry 5 -k -o Ad_quijote_mfi_cs_pol_64_dr1.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/compsep/pol/Ad_quijote_mfi_cs_pol_64_dr1.fits
curl -s --retry 5 -k -o As_quijote_mfi_cs_pol_64_dr1.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/compsep/pol/As_quijote_mfi_cs_pol_64_dr1.fits
curl -s --retry 5 -k -o betad_quijote_mfi_cs_pol_64_dr1.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/compsep/pol/betad_quijote_mfi_cs_pol_64_dr1.fits
curl -s --retry 5 -k -o betas_quijote_mfi_cs_pol_64_dr1.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/compsep/pol/betas_quijote_mfi_cs_pol_64_dr1.fits
curl -s --retry 5 -k -o Td_quijote_mfi_cs_pol_64_dr1.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/compsep/pol/Td_quijote_mfi_cs_pol_64_dr1.fits
curl -s --retry 5 -k -o chi2r_quijote_mfi_cs_pol_64_dr1.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/compsep/pol/chi2r_quijote_mfi_cs_pol_64_dr1.fits

#        Masks
curl -s --retry 5 -k -o mask_quijote_ncp_lowdec_satband_nside512.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/masks/mask_quijote_ncp_lowdec_satband_nside512.fits
curl -s --retry 5 -k -o mask_quijote_satband_ncp86_nside512.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/masks/mask_quijote_satband_ncp86_nside512.fits

#        Nulltest Map Splits
curl -s --retry 5 -k -o quijote_mfi_skymap_11ghz_512_dr1_half1.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/nulltests/quijote_mfi_skymap_11ghz_512_dr1_half1.fits
curl -s --retry 5 -k -o quijote_mfi_skymap_11ghz_512_dr1_half2.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/nulltests/quijote_mfi_skymap_11ghz_512_dr1_half2.fits
curl -s --retry 5 -k -o quijote_mfi_skymap_13ghz_512_dr1_half1.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/nulltests/quijote_mfi_skymap_13ghz_512_dr1_half1.fits
curl -s --retry 5 -k -o quijote_mfi_skymap_13ghz_512_dr1_half2.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/nulltests/quijote_mfi_skymap_13ghz_512_dr1_half2.fits
curl -s --retry 5 -k -o quijote_mfi_skymap_17ghz_512_dr1_half1.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/nulltests/quijote_mfi_skymap_17ghz_512_dr1_half1.fits
curl -s --retry 5 -k -o quijote_mfi_skymap_17ghz_512_dr1_half2.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/nulltests/quijote_mfi_skymap_17ghz_512_dr1_half2.fits
curl -s --retry 5 -k -o quijote_mfi_skymap_19ghz_512_dr1_half1.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/nulltests/quijote_mfi_skymap_19ghz_512_dr1_half1.fits
curl -s --retry 5 -k -o quijote_mfi_skymap_19ghz_512_dr1_half2.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/nulltests/quijote_mfi_skymap_19ghz_512_dr1_half2.fits
curl -s --retry 5 -k -o quijote_mfi_smth_skymap_11ghz_512_dr1_half1.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/nulltests/quijote_mfi_smth_skymap_11ghz_512_dr1_half1.fits
curl -s --retry 5 -k -o quijote_mfi_smth_skymap_11ghz_512_dr1_half2.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/nulltests/quijote_mfi_smth_skymap_11ghz_512_dr1_half2.fits
curl -s --retry 5 -k -o quijote_mfi_smth_skymap_13ghz_512_dr1_half1.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/nulltests/quijote_mfi_smth_skymap_13ghz_512_dr1_half1.fits
curl -s --retry 5 -k -o quijote_mfi_smth_skymap_13ghz_512_dr1_half2.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/nulltests/quijote_mfi_smth_skymap_13ghz_512_dr1_half2.fits
curl -s --retry 5 -k -o quijote_mfi_smth_skymap_17ghz_512_dr1_half1.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/nulltests/quijote_mfi_smth_skymap_17ghz_512_dr1_half1.fits
curl -s --retry 5 -k -o quijote_mfi_smth_skymap_17ghz_512_dr1_half2.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/nulltests/quijote_mfi_smth_skymap_17ghz_512_dr1_half2.fits
curl -s --retry 5 -k -o quijote_mfi_smth_skymap_19ghz_512_dr1_half1.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/nulltests/quijote_mfi_smth_skymap_19ghz_512_dr1_half1.fits
curl -s --retry 5 -k -o quijote_mfi_smth_skymap_19ghz_512_dr1_half2.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/nulltests/quijote_mfi_smth_skymap_19ghz_512_dr1_half2.fits

#        Reduced Instrument Model (RIMO)
curl -s --retry 5 -k -o rimo_quijote_mfi_params_dr1.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/RIMO/rimo_quijote_mfi_params_dr1.fits
curl -s --retry 5 -k -o rimo_quijote_mfi_beamrp_dr1.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/RIMO/rimo_quijote_mfi_beamrp_dr1.fits
curl -s --retry 5 -k -o rimo_quijote_mfi_beamtf_dr1.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/RIMO/rimo_quijote_mfi_beamtf_dr1.fits
curl -s --retry 5 -k -o rimo_quijote_mfi_bandpass_dr1.fits https://lambda.gsfc.nasa.gov/data/suborbital/QUIJOTE/QUIJOTE-MFI-Release1/RIMO/rimo_quijote_mfi_bandpass_dr1.fits
