if (FALSE) {
# example with one specified GCM
download_cmip6_ecmwfr(
scenarios = 'ssp126',
area = c(55, 5.5, 47, 15.1),
key = 'write key here',
model = 'AWI-CM-1-1-MR',
frequency = 'monthly',
variable = c('Tmin', 'Tmax'),
year_start = 2015,
year_end = 2100)
# example with default combinations of scenario and GCM
download_cmip6_ecmwfr(
scenarios = 'ssp126',
area = c(55, 5.5, 47, 15.1),
key = 'write key here',
model = 'default',
frequency = 'monthly',
variable = c('Tmin', 'Tmax'),
year_start = 2015,
year_end = 2100)
# example with all possible combinations of scenario and GCM
# this may take a little longer
download_cmip6_ecmwfr(
scenarios = 'ssp126',
area = c(55, 5.5, 47, 15.1),
key = 'write key here',
model = 'all',
frequency = 'monthly',
variable = c('Tmin', 'Tmax'),
year_start = 2015,
year_end = 2100)
}
Run the code above in your browser using DataLab