viewtopic.php?t=1233
My run stops with the message
Code: Select all
NETCDF_CHECK_VAR - inconsistent value of variable: theta_b 2.000000E-01 2.000000E-01
in file: roms_ini.nc
I think it's just a precision mismatch: I generated the initial-conditions file with a script that stored theta_b as a netCDF FLOAT value, while theta_b in the model run is double-precision. So I'm regenerating the initial-conditions file with all its vertical coordinate data in DOUBLE precision. We'll see if that works.
However, perhaps NETCDF_CHECK_VAR should check for equality within some small tolerance?
PS: the checks performed in NETCDF_CHECK_VAR are a good idea. Some years ago I used an initial-conditions file with vertical-grid parameters that didn't match the model run. This lead to very weird results.