-
Notifications
You must be signed in to change notification settings - Fork 6
mesh_and_interpolate.py
Luc Duron edited this page Oct 22, 2019
·
1 revision
usage: mesh_and_interpolate.py [-h] [--verbose] [--dist_max DIST_MAX]
[--project_straight_line] --long_step LONG_STEP
(--lat_step LAT_STEP | --nb_pts_lat NB_PTS_LAT)
[--constant_long_disc]
[--interp_constraint_lines {LINEAR,FINITE_DIFF,CARDINAL}]
[--interp_values {LINEAR,B-SPLINE,AKIMA,PCHIP,CUBIC_SPLINE,BILINEAR,BICUBIC,BIVARIATE_SPLINE}]
[--infile_constraint_lines INFILE_CONSTRAINT_LINES]
[--attr_cross_sections ATTR_CROSS_SECTIONS]
[--outfile_mesh OUTFILE_MESH] [--lang {en,fr}]
[--outfile_nodes OUTFILE_NODES]
infile_axis infile_cross_sections
________________________________________________________________________________
mesh_and_interpolate.py
Channel mesher and/or interpolator from cross-sections
________________________________________________________________________________
~> Optional arguments:
-h, --help show this help message and exit
--verbose, -v increase output verbosity (default: False)
--dist_max DIST_MAX maximum search distance to rescue intersections for
limits (in m) (default: 0.01)
~> Input files arguments:
infile_axis hydraulic axis file (*.shp, *.i2s)
infile_cross_sections
cross-sections file (*.shp, *.i3s)
--infile_constraint_lines INFILE_CONSTRAINT_LINES
constraint lines file (*.shp, *.i2s) (default: None)
--attr_cross_sections ATTR_CROSS_SECTIONS
attribute to identify cross-sections (default: None)
~> Mesher and interpolator arguments:
--project_straight_line
project cross-sections along a straight line (linking
cross-section bounds) (default: False)
--long_step LONG_STEP
longitudinal space step (in m) (default: None)
--lat_step LAT_STEP lateral space step (in m) (default: None)
--nb_pts_lat NB_PTS_LAT
number of nodes crosswise (default: None)
--constant_long_disc method to compute number of intermediate cross-
sections per zone (identical between 2 consecutive
cross-sections) instead of per bed/submesh (default
behaviour) (default: False)
--interp_constraint_lines {LINEAR,FINITE_DIFF,CARDINAL}
interpolation method for X and Y coordinates of
constraint lines (default: LINEAR)
--interp_values {LINEAR,B-SPLINE,AKIMA,PCHIP,CUBIC_SPLINE,BILINEAR,BICUBIC,BIVARIATE_SPLINE}
interpolation method (crosswise for 1D or global 2D)
for values (default: LINEAR)
~> Output files arguments:
--outfile_mesh OUTFILE_MESH
2D results file. Supports formats: Telemac (*.slf),
BlueKenue (*.t3s) and LandXML (*.xml) (default: None)
--lang {en,fr} language for standard variables in output file
(default: fr)
--outfile_nodes OUTFILE_NODES
output points set file with mesh nodes (*.shp, *.xyz)
(default: None)