Open jenjar93 opened 1 year ago
The gdept and gdepw variables are no longer outputted by NEMO in the domain_cfg.nc.
Rather than removing these from all of PyBDY, would it be possible to introduce a script early on that calculates gdept/gdepw from the e3 variables?
@jenjar93 there is already a script in ./utils: from .utils.e3_to_depth import e3_to_depth see line 69 in nemo_bdy_zgrv2.py for example
from .utils.e3_to_depth import e3_to_depth
nemo_bdy_zgrv2.py
For background, this looks related to a brief discussion in (#2 )
The gdept and gdepw variables are no longer outputted by NEMO in the domain_cfg.nc.
Rather than removing these from all of PyBDY, would it be possible to introduce a script early on that calculates gdept/gdepw from the e3 variables?