-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wrong ocean_vgrid.nc in all 0.1 deg runs #161
Comments
note to self: private slack discussion with Russ is here: https://arccss.slack.com/archives/DKVPAUV3K/p1565938564001300 |
Just linking to another problem with |
@russfiedler I've run some tests in
so setting |
I've copied |
The second case behaves at I think it is intended. It detects rounding errors and makes a larger than usual cell. I think you'll find that the max value is max(zeta(new)-zeta(old)) i=1:151:2 |
The default Or will there be roundoff problems if it it too small relative to ocean max depth? |
|
scratch that last comment |
I'd make the |
OK, 1e-3 it is then. The most recent ACCESS-CM2 diag table I've seen had min_thickness=25.0 - is that cause for concern? |
This is only a problem for grids using the Mosaic style |
@AndyHoggANU this seems a relatively small problem, but should it be fixed in @russfiedler will a change to the kmt mask midway through a simulation be problematic for restarts? |
Actually, I would prefer to run it with the new mask for a year or so before I start putting out diagnostics ... but not sure I will have time to do this before I go away next week. Maybe we should first try to figure out if we can easily restart with the new mask and take it from there? |
Yes, it can be a bit tricky at times when you dig out tiles for the new mask. Care needs to taken with not only the tracers but also the thickness restart I think. |
…303) This changes the default minimum thickness from 1.0m to 1e-3m. Existing restart files may have issues with this change. If an existing run encounters errors set min_thickness = 1.0 in ocean_topog_nml to have backwards compatibility.
…te only if it needs to be specified; see COSIMA/access-om2#161 and #303
Any objections to me merging the updated PR mom-ocean/MOM5#309 into master? |
Closing this issue - I've merged the updated PR mom-ocean/MOM5#309 into master. |
The incorrect |
This has been fixed in the ak-dev branches of the configs, but these are yet to be merged into master, so we should leave this issue open until they are. |
To be specific, it is fixed in This is almost ready for testing and use. Details are in |
closing. |
For future reference, this is the tool to fix the doubles in |
There's an assumption that the values in
topog.nc
are all from the even-index (counting from 0) entries inocean_vgrid.nc
, buttopog.nc
is stored at single precision whereasocean_vgrid.nc
is double-precision. This difference can mess up this comparison, sometimes resulting in partial cells that are thicker than full cells becausekmt
is not incremented when it should be.To avoid this problem, this specially-adjusted file must be used with KDS75:
/g/data3/hh5/tmp/cosima/bathymetry/ocean_vgrid.nc
which is compatible with both single- and double-precision arithmetic.
All the 0.1deg input versions
/short/public/access-om2/*/mom_01deg/ocean_vgrid.nc
use the same, incorrectocean_vgrid.nc
, which differs from the correct/g/data3/hh5/tmp/cosima/bathymetry/ocean_vgrid.nc
.For
01deg_jra55v13_iaf
this only makes a small difference (although for a lot of cells):but for
01deg_jra55v13_ryf9091
the partial thickness is almost 1m greater than the full thickness at over 40,000 points, which can be about 1.5x thicker than the full thickness:because we changed the minimum thickness

min_thick
from 10m to 1m with a new topography (/short/public/access-om2/input_08022019/mom_01deg/topog.nc
) to fix #99. This is a map of the thickness difference (partial-full) where it is not negative. It's either 0 or 1m. This can be a large relative error in these shallow regions.This script was used to detect this problem.
Credit to @russfiedler for diagnosing the underlying cause. Russ says the main consequence is that there could be some non advective cells introduced since
kmt
doesn't extend deep enough.The text was updated successfully, but these errors were encountered: