read_netCDF_data leads to cryptic model failure when rescale value argument is not 1
Closed this issue · 3 comments
Calls to read_netCDF_data()
are failing for some fields when the value of the rescale optional argument is not 1. The error messages that are returned are a cryptic warning about invalid memory in the call to handle%close()
at about line 2109 of MOM_io.F90
, but I suspect that this the result of a segmentation fault earlier in read_netCDF_data_2d()
.
Can you show the fields or lines where this is happening?
Is it in tidal mixing?
MOM6/src/parameterizations/vertical/MOM_tidal_mixing.F90
Lines 510 to 511 in ceb4c92
MOM6/src/parameterizations/vertical/MOM_tidal_mixing.F90
Lines 525 to 526 in ceb4c92
Yes, these are the variables, but I have a pending fix for this bug.