tfv documentation¶
tfv is a suite of tools for post-processing results from TUFLOW FV, a 1D, 2D and 3D hydrodynamic, sediment transport, water quality and particle tracking modelling software.
The purpose of this page is to serve as the tfv package API Reference. Also provided are links to tutorials and example datasets.
Installing¶
The tfv package is available via the Python Package Index PyPi and Conda Forge.
To install tfv from the conda command line tool:
$ conda install -c conda-forge tfv
Alternatively to install tfv using pip:
$ python -m pip install tfv
*Note: Version 1.0.10 has been built and tested on Python 3.9 to 3.11.
Getting Started¶
For tips on the setup of Python and tfv, including tutorials and examples please refer to the TUFLOW FV Python Toolbox Wiki Page.
API Reference¶
Class reference documentation
Examples¶
Tutorial and example notebooks
- Examples
- Tutorial 1. TUFLOW FV Post-Processing Using Xarray
- Tutorial 2. Introductory Matplotlib Plot Composition
- Tutorial 3: Working With Gridded Boundary Condition Data
- Gallery 1: Timeseries Plots
- Gallery 2: Profile Plots
- Gallery 3: Working with Sheets
- Open TUFLOW FV Model Result
- Single Sheet Plot
- Sheet Plot With Vectors and Save to Disk
- Sheet Plot at Different Depths
- Save Sheet To ASCII Arc Grid
- Extract Grid From Sheet And Output To GeoTiff
- Multiple Sheet Plots
- Impact Sheet Multiple Models
- Plot Sheet Max
- Save Max to asc
- Save Sheet Plot Animation
- Interactive Sheet Plot
- Gallery 4: Curtain Plots
- Gallery 5: Combined Plots
- Gallery 6: Particle Tracking Plots
- Gallery 7: Miscellaneous
Support¶
For help with the tfv package contact support@tuflow.com