NOC-MSM / pyBDY

pyBDY: a Python based regional NEMO model configuration toolbox.
GNU General Public License v3.0
7 stars 7 forks source link

division by zero #95

Open jdha opened 1 year ago

jdha commented 1 year ago

what: when working out the closest parent zt points to the child there is a division by zero is there is no deeper parent zt point than the deepest child zt

where: nemo_bdy_extr_tm3.py:390

solution: set both nearest points equal to deepest parent zt point? this effectively replicates the down filling ... maybe throw a warning too in the output log