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
2 stars 9 forks source link

Generate additional gr3 files on the fly #54

Closed tomdurrant closed 9 months ago

tomdurrant commented 10 months ago

At the moment, the grid object required supply of a number of gr3 files along with the grid definition file. Often these are just constant values, and consist of of a text file containing node numbers and constant values. In this case, it would be preferable to generate these on the fly rather than having to pass these around. Vanessa supplied a perl script to do this.

gen_gr3.txt

This should be incorporated into the wrapper

VHernaman commented 10 months ago

to be pedantic regarding the above, ... consist of of a text file containing node numbers, COORDS and constant values.

tomdurrant commented 9 months ago

This was fixed with merge of #58