csiro-coasts / emsarray

xarray extension that supports EMS model formats
BSD 3-Clause "New" or "Revised" License
13 stars 2 forks source link

Add Convention.geometry and Convention.bounds #83

Closed mx-moth closed 1 year ago

mx-moth commented 1 year ago

Convention.geometry is a single Polygon that represents the dataset geometry, while Convention.bounds is the minimum bounds of the dataset. Both have default implementations, but specific conventions can override this implementation if there is a more efficient way of computing it.