pywasp.download_mesoclimate#
- pywasp.download_mesoclimate(server='zenodo', dl_all=False)[source]#
Download the global mesoclimate files PyWAsP needs, without prompting.
The explicit way to fetch the files, e.g. when preparing a container image or an offline machine; the
pywasp mesoclimate downloadcommand calls this. The[download]configuration is not consulted: calling this function is the consent.- Parameters:
- Returns:
pathlib.Path– The directory holding the files.- Raises:
MesoclimateMissingError – If there is no internet connection or a download fails.
PywaspError – If
serveris not “zenodo” or “dtudata”.