era5time

era5time(; year="", month="", day="", hour="") -> String

Select one or more date-times from a CDS ERA5 dataset.

This function returns a JSON formatted string that can be used as an input to the ecmwf function params option.

Returns

A string with the JSON formatted date-time.

Examples

# All times in 2023
var = era5time(year="2023")
"\"year\": [\"2023\"],\n\"month\": [\"5\"],\n\"day\": [\"13\"],\n\"time\": [\"2\"],\n"

See Also

ecmwf, era5vars, listecmwfvars

Source Code

View the source code for this function.