#!/bin/bash

# Downloads ERA5 reanalysis
wget -r -nH --no-parent --cut-dirs=1 ftp://bscesftp.bsc.es/FOCUS/esarchive/recon/ecmwf/era5/monthly_mean/tasmax_f24h-r1440x721cds/tasmax_*

# Downloads SEAS5 forecast files
wget -r -nH --no-parent --cut-dirs=1 ftp://bscesftp.bsc.es/FOCUS/esarchive/exp/ecmwf/system5c3s/monthly_mean/tasmax_f24h/tasmax_*

# Downloads reference .nc for re-gridding
wget -r -nH --no-parent --cut-dirs=1 ftp://bscesftp.bsc.es/FOCUS/esarchive/exp/ecmwf/system5c3s/*.nc
