User Forum of Software BASEMENT

BASEMENT
Basic Simulation Environment for computation of environmental flow and natural hazard simulation
Laboratory of Hydraulics, Hydrology and Glaciology (VAW)
ETH Zurich
Basement_Logo

You are not logged in.

#1 2016-07-25 11:35:45

Adnan
User
From: Pakistan
Registered: 2015-03-31
Posts: 51

Result visualization

Dear developers

reagrding this thread http://people.ee.ethz.ch/~basement/foru … php?id=379

i want to know if there is any example / tutorial anyone can provide me in python or matlab to visualize the results of 1-D modelling .

regards

Offline

#2 2016-07-25 13:44:26

Daniel Ehrbar
Developer
Registered: 2014-09-05
Posts: 7

Re: Result visualization

Hi Adnan,

one possibility to visualize 1d-results is a Python script provided under http://www.basement.ethz.ch/services/To … honscripts --> Auswertung_1d_HSR.zip There will be two scripts, one for steady state simulations and one for unsteady, morphological simulations.

Only data from the "standard output file" is being used. This file is automatically generated for every simulation (i.e. it does not depend on any special outputs). It has the name <region_name>_out.dat. In older versions of BASEMENT, it has the filename extension *.txt instead of *.dat. If so, please change the extension to *.dat and the script should run.

BASEd regards,
Daniel

Offline

#3 2016-07-26 06:29:39

Adnan
User
From: Pakistan
Registered: 2015-03-31
Posts: 51

Re: Result visualization

thanx daniel for the reply i will take a look into it .

regards

Offline

#4 2016-07-28 12:06:12

Adnan
User
From: Pakistan
Registered: 2015-03-31
Posts: 51

Re: Result visualization

hello

though the tutorial is in German language i tried google translate to translate the tutorial in English Language

the instruction are

1. Installing a Python distribution ( or including Python . Library matplotlib )
2. take appropriate script in the standard result file folder
3. Double-click the script file ( it automatically opens a console )
4. Enter the name of the standard result file ( incl . extension ! ) in console

i copy pasted the python file in the Basement results folder when i double click it it open and disappeared doesn't ask for any out file .

kindly guide me .

regards

Offline

#5 2020-03-17 14:02:44

Lutra
User
Registered: 2015-03-13
Posts: 8

Re: Result visualization

We have started implementing support for 1D element in MDAL/QGIS directly:
https://github.com/qgis/QGIS-Enhancemen … issues/164

If you are interested in supporting BASEMENT data, feel free to get in touch.

Offline

Board footer

Powered by FluxBB