...
- Fetching ORAS5 data in netCDF format.
- Regridding from original tripolar coordinate system to a regular 0.25º longitude and latitude grid.
- Applying homogenization conventions, as applicable:
- Ensure latitude, longitude ranges are between [-90, +90], [-180, +180].
- Unify time reference. This is to ensure that all files share a common time encoding and a temporal dimension called time.
- Convert depth to elevation. Elevation is sorted in an increasing fashion, from the bottom of the sea up. Values below the sea surface are negative.
- Writing to an ARCO Zarr archive (which is similar in structure to netCDF).
- The CDS requests the data from the Zarr archive using xarray and writes the data to netCDF or CSV (as requested).
...