More info (to close on this topic)
My meshes were generated with
because I was using the old Selafin class (in
data_manip.formats.selafin), which was wrong.
After having a look in the latest
notebooks, now I generate my meshes with:
res = TelemacFile(outpath, access="w")
res.add_header("pyposeidon generated mesh", date=[1986, 2, 21, 0, 0, 0])
res.add_mesh(X, Y, TRI)
# add BOTTOM variable
res.add_variable("BOTTOM", "M")
res._values[0, 0, :] = Z
res.write()
res.close()
Source:
telemac.py on pyposeidon's github
The implementation I proposed for global meshes now only involves the python scripts.
More info about these changes in Merge Request
MR #176