using YAXArrays
using Zarr
era5url = "https://s3.bgc-jena.mpg.de:9000/deepextremes/v3/ERA5Cube.zarr"
ds = open_dataset(era5url)
sub = ds[Ti=DateTime(1998,1,1)..DateTime(2022,12,31), longitude=0..14.76,latitude=30.1..60]
savedataset(sub,path="./era5.zarr")