From: Paul RASCLE Date: Tue, 29 Jan 2019 15:50:41 +0000 (+0100) Subject: set Z coordinate by default in interpolz_B method X-Git-Tag: SH_V2_2_0~99^2~35 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f9db5b463277c375cfa5bbcaf3949cb7d3d183e8;p=modules%2Fhydro.git set Z coordinate by default in interpolz_B method --- 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)