Relocatable Ocean Modelling in PYthon (rompy) combines templated cookie-cutter model configuration with various xarray extensions to assist in the setup and evaluation of coastal ocean model
Support specifying the numeric stopping criteria using ACCUR:
Implement ACCUR swan numerics subcomponent as an alternative to the STOPC
Change the field name in the NUMERIC component from stopc to stop and set both STOPC and ACCUR as valid options for that field
Bug fixes and small changes
Redefine validator in rompy.core.grid.RegularGrid to ensure grid attributes are defined correctly when instantiating the grid from x, y arrays rather than those attributes (this was actually implemented in the latest pull request https://github.com/rom-py/rompy/pull/49).
Fix bug calculation of spatial resolution / extension in regular grid classes.
Add an __eq__ method to the core RegularGrid class so grids can be correctly compared for equality.
Define interface between SwanGrid higher-level object and SWAN grid component. Two methods have been implemented in SwanGrid to:
Support specifying the numeric stopping criteria using ACCUR:
stopc
tostop
and set bothSTOPC
andACCUR
as valid options for that fieldBug fixes and small changes
rompy.core.grid.RegularGrid
to ensure grid attributes are defined correctly when instantiating the grid from x, y arrays rather than those attributes (this was actually implemented in the latest pull request https://github.com/rom-py/rompy/pull/49).__eq__
method to the core RegularGrid class so grids can be correctly compared for equality.