1 # Z interpolation with HYDRO
2 from salome.hydrotools.interpolZ import interpolZ_B
4 # Bathymetry name in HYDRO
5 bathyName = <bathy_name_from_dlg>
7 # MED file 2D(x,y) of the case produced by SMESH
8 medFile = <MED_file_path_from_dlg>
11 med_group_name = <MED_Group>
13 # Value to use for undefined Z (used to detect problems)
14 zUndef = <z_undef_value_from_dlg>
16 # Interpolation method
17 im = <interpolation_method>
19 # Z interpolation on the bathymetry on the mesh nodes of given group
20 statZ = interpolZ_B(bathyName, medFile, med_group_name, zUndef, im)