rom-py / rompy

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
https://rom-py.github.io/rompy/
BSD 3-Clause "New" or "Revised" License
3 stars 9 forks source link

Regular grid initialisation from x, y #49

Closed rafa-guedes closed 1 year ago

rafa-guedes commented 1 year ago

Regular grid was not initialising correctly with fields x and y. The other fields were not being correctly assigned and this was causing errors when certain attributes that depended on those fields were attempted to be accessed.

This pull request is mainly to fix this behaviour. Some hidden attributes in RegularGrid were also not being used and were also removed.