# Z interpolation with HYDRO from salome.hydrotools.interpolZ import interpolZ # Calculation case name in HYDRO caseName = # MED file 2D(x,y) of the case produced by SMESH medFile = # Dictionary [med group name] = region name # Value to use for Z when the node is not in a region (used to detect problems) zUndef = # Interpolation method # Z interpolation on the bathymetry/altimetry on the mesh nodes statZ = interpolZ(caseName, medFile, dictGroupRegion, zUndef, dict_region_interpolation_method)