CSIRO’s emsarray library is an extension to the xarray Python Package that adds support for datasets with the CSIRO EMS geometry conventions, including the results of the eReefs GBR4 and GBR1 models with their curvilinear grids.
Supported grid conventions include:
- one- or two-dimensional grids that use the Climate and Forecasting (CF) metadata conventions
- staggered (structured) grids for EMS-SHOC (i.e. eReefs GBR4, GBR1 and RECOM )
- unstructured grids for EMS-COMPAS
- (additional conventions via plugins)
emsarray can be used to:
- locate a geographic point within the dataset
- subset the dataset to a collection of points
- clip a dataset to a geographic region
- export the dataset geometry to alternate formats
- draw basic plots
- render basic animations
The emsarray library was created in 2021 as an eReefs deliverable, but is a generic tool which can be used with any EMS or similar datasets, not just the eReefs ones. It is freely reusable under a a BSD-3-clause Open Source Licence.
- emsarray documentation: https://emsarray.readthedocs.io/en/stable/
- emsarray source code: https://github.com/csiro-coasts/emsarray
- emsarray package repositories: PyPi or CondaForge