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

Add support for TPAR #37

Open tomdurrant opened 1 year ago

tomdurrant commented 1 year ago

Can currently specify a swan spectra ascii file. Alternatively, SWAN can take a so-called TPAR file which is an ascii file with a list of spectral wave parameters or a list of names of spectra files to use. This needs to be implemented in ROMPY

rafa-guedes commented 1 year ago

Related discussion in https://github.com/rom-py/rompy/pull/30

rafa-guedes commented 9 months ago

This has been implemented in https://github.com/rom-py/rompy/pull/66 and could be closed once that is merged. TPAR files can be created using the new swan boundary objects BoundspecSide and BoundspecSegmentXY.