You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I write some of the model diagnostics in hdf5 file format I get the buffer error:
*** buffer overflow detected ***: terminated
The problem comes up if write_diagnostics = true in the .toml configuration file.
The code fails on this line from the def gen_alpha(self, a_bgd=500.0, a_lb=1e2, a_ub=1e4): function.
The bottle neck of the issue, is with the HDF5 format, that is if output_var_format = 'h5' or output_var_format = 'all'.
And the lines where we write diagnostics output as HDF5 are here.
I'm not sure if this fails because we have reach the number of bytes that we are allow to write? Or maybe we are writing things wrong. Things seems to be find when we write the inversion output though, that is also written in hdf5 and that does not fail.
@dngoldberg, @jrmaddison
If I write some of the model diagnostics in hdf5 file format I get the buffer error:
*** buffer overflow detected ***: terminated
The problem comes up if
write_diagnostics = true
in the .toml configuration file.The code fails on this line from the
def gen_alpha(self, a_bgd=500.0, a_lb=1e2, a_ub=1e4):
function.The bottle neck of the issue, is with the HDF5 format, that is if
output_var_format = 'h5'
oroutput_var_format = 'all'
.And the lines where we write diagnostics output as HDF5 are here.
I'm not sure if this fails because we have reach the number of bytes that we are allow to write? Or maybe we are writing things wrong. Things seems to be find when we write the inversion output though, that is also written in hdf5 and that does not fail.
This how we write things in the function:
For the inversion output the write things slightly different:
Some thoughts on this will be good
The text was updated successfully, but these errors were encountered: