Open dafyddstephenson opened 3 months ago
Related to #66
@nmolem looking at your MATLAB scripts, they define the mask by choosing a threshold of 0.11 meters for the dealiased interpolated bathymetry h_dealiased
, i.e.,
h_dealiased
< 0.11 mh_dealiased
> 0.11 mIs there a deeper meaning behind that 0.11 meter threshold?
@dafyddstephenson the difference in your plot above stems from the fact that the python package simply uses a threshold of 0 meters.
I don't remember why I picked 0.11 meter. Surely no deeper meaning and you can pick 0m as well.
@NoraLoose got it. Well this isn't the most scientifically rigorous argument for a parameter choice but the map resulting from 0.11 definitely looks a lot more like Wales 😂🏴
Sometimes, it's better to be lucky than good.
There is (see screenshot) a difference between the Grid object when generated using python roms-tools vs MATLAB. Per our discussion my understanding is that topography smoothing is applied before the mask is generated, leading to the problem.