Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/emilyhunt/gaianir-open-clusters. Companion code to determine the star cluster selection function of the proposed GaiaNIR astrometric mission.
Something went wrong. Try again.
gaianir-open-clusters fetch_data.py
768 B · 29 lines
Python
at main
123456789101112131415161718192021222324252627282930"""Fetches data for the project."""
from gaianir_open_clusters import datafrom dustmaps.bayestar import fetch as fetch_bayestarfrom dustmaps.decaps import fetch as fetch_decapsfrom dustmaps.planck import fetch as fetch_planck
print("Downloading kurucz atmosphere models")data.fetch_kurucz_models()
# print("Downloading BT-Settl atmosphere models")# data.fetch_btsettl_models() # Todo: add a download link for them
print("Downloading ocelot data")data.fetch_ocelot_data()
print("Downloading GaiaNIR simulation results")data.fetch_gaia_nir_astrometry()
print( "Downloading dust maps (will not re-download if you already have them on your machine)")fetch_bayestar()fetch_decaps(mean_only=True, silence_warnings=True)fetch_planck()
print("Done!")