From f9db5b463277c375cfa5bbcaf3949cb7d3d183e8 Mon Sep 17 00:00:00 2001 From: Paul RASCLE Date: Tue, 29 Jan 2019 16:50:41 +0100 Subject: [PATCH] set Z coordinate by default in interpolz_B method --- src/HYDROTools/interpolZ.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/HYDROTools/interpolZ.py b/src/HYDROTools/interpolZ.py index 70a4b252..2c81d63e 100644 --- a/src/HYDROTools/interpolZ.py +++ b/src/HYDROTools/interpolZ.py @@ -361,7 +361,7 @@ def interpolZ(nomCas, fichierMaillage, dicoGroupeRegion, zUndef=90., regions_int return statz -def interpolZ_B(bathyName, fichierMaillage, gr_face_name, zUndef=90., interp_method=0, m3d=False, xyzFile=False, verbose=False): +def interpolZ_B(bathyName, fichierMaillage, gr_face_name, zUndef=90., interp_method=0, m3d=True, xyzFile=False, verbose=False): """ interpolZ_B takes a 2D (x,y) mesh and calls the active instance of module HYDRO to interpolate the bathymetry/altimetry on the mesh nodes, to produce the Z value of each node. @@ -375,7 +375,7 @@ def interpolZ_B(bathyName, fichierMaillage, gr_face_name, zUndef=90., interp_met interp_method: interpolation method 0 = nearest point on bathymetry 1 = linear interpolation - m3d: True/False to produce a 3D mesh. Default is False. + m3d: True/False to produce a 3D mesh. Default is True. xyzFile: True/False to write an ascii file with xyz for every node. Default is False. Out: if OK : statz_gr_face_name: statistic for z: (minz, maxz, meanz, stdz, v05z, v95z) -- 2.39.2