xarray-zarr

Here is an example recipe that builds a dataset using one of the many regridded versions of ERA5 hosted by Google in an Analysis-Ready, Cloud-Optimised format. See here for more information.

dates:
  start: 2021-01-01T00:00:00
  end: 2021-01-10T12:00:00
  frequency: 6h

input:
  join:
  - xarray-zarr:
      url: "gs://gcp-public-data-arco-era5/ar/1959-2022-6h-128x64_equiangular_conservative.zarr"
      param:
      - surface_pressure
      - 2m_temperature
      - 10m_u_component_of_wind
      - 10m_v_component_of_wind

  - xarray-zarr:
      url: "gs://gcp-public-data-arco-era5/ar/1959-2022-6h-128x64_equiangular_conservative.zarr"
      param:
      - temperature
      level:
      - 1000
      - 500

Note that, unlike the mars examples, there is no need to include a grid specification. Additionally, to sub-select the vertical levels, it is necessary to use the join operation to join separate lists containing 2D variables and 3D variables. If all vertical levels are desired, then it is acceptable to specify a single source.

Also, an xarray-zarr source uses the url keyword, and cannot be used for accessing local datasets. For using local zarr datasets as sources, use instead anemoi-dataset.

See Create a dataset from CF-compliant data for more information.