-
Notifications
You must be signed in to change notification settings - Fork 244
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
division by zero when doing z-diagnostics resulting debug mode crash #272
Comments
Division by depth=0 happens everywhere on the land mask. Why isn't the call to build_zstar_column() |
Isn't this line doing that? https://github.com/NOAA-GFDL/MOM6/blob/dev/master/src/ALE/MOM_regridding.F90#L559 Dr Alistair Adcroft ([email protected]) On Fri, Apr 29, 2016 at 1:06 PM, Niki Zadeh [email protected]
|
No, this one is called directly from MOM_diag_mediator.F90 without going through that masking: https://github.com/NOAA-GFDL/MOM6/blob/dev/master/src/framework/MOM_diag_mediator.F90#L839 |
I applied the logic in src/ALE/MOM_regridding.F90#L559 and made a pull request |
…0319 Make the US argument to MOM_domains_init optional
I add the following to MOM_override to be able to produce z-diagnostics:
DIAG_REMAP_Z_GRID_DEF = "FILE:analysis_vgrid_lev35.v1.nc,zw"
This works fine in prod mode and produces the z-diagnostics.
But the model crashes in debug mode with the following traceback:
Line 620 of MOM_regriding.F90 being:
ddt shows that depth=0 in this first call.
This is dev/master/2016.03.22 without my updates for COBALT diagnostics (although I get it when compiling my updates too).
xml: OM4.xml , experiment: OM4_SIS2_05_z_diag
The text was updated successfully, but these errors were encountered: