BASEtools
BASEtools is a collection of python scripts for pre-processing, data conversion, or visualization.
Pre-processing
The tool discretizes a grain size distribution into x grain classes using the log approach (Parker).
Data conversion
Transforms GEWISS cross section data to the bmg-format
DownloadGEWISS2Basement.pyvertical_align_bottom
Transforms Floris Input files for 1D to the new bmg-format
DownloadFunin2Basement.pyvertical_align_bottom
Transforms HEC-RAS Input files for 1D to the bmg-format. The script provides the bmg-file and the list of cross-sections names that can be copied into the model.json file (v4) or into the .bmc file (v2-8) (converted_cross_section_names.txt):
DownloadHECRAS2Basement_v4.zipvertical_align_bottom
DownloadHECRAS2Basement_v2-8.zipvertical_align_bottom
Extract Nodestring (Stringdefs) results from a BASEMENT v4.x results container (results.h5)
DownloadBMv4NodestringResults.pyvertical_align_bottom
Extract data over time at user-specified gauging coordinates from a BASEMENT v4.x results container (results.h5)
DownloadBMv4GaugeExtract.pyvertical_align_bottom
Convert CGNS restart froms to h5 restart files (migration from version 2.8.2 to version 4.0)
Visualization
Scripts to generate different 1-D figures from BASEchain standard output:
- for results of steady hydrodynamic simulation
DownloadAuswertung_1d_HSR_stationaer.pyvertical_align_bottom
- for results of transient hydrodynamic/morphodynamic simulation
DownloadAuswertung_1d_HSR.pyvertical_align_bottom