in src/guclimate/requests/shortcuts/ecv.py [0:0]
def anomlies():
answers = collect_ecv_answers()
# CDS expects all parameters to be arrays, even if they're single values
answers["variable"] = [answers["variable"]]
answers["time_aggregation"] = [answers["time_aggregation"]]
answers["climate_reference_period"] = [answers["climate_reference_period"]]
return requests.createCDSRequest(
{
"product": "ecv-for-climate-change",
"product_type": ["anomaly"],
"origin": ["era5"],
**answers,
}
)