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.5 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
- API Reference
- Xarray Module
- Introduction
- Usage
- Accessor methods
- TfvDomain
TfvDomain
TfvDomain.get_curtain()
TfvDomain.get_profile()
TfvDomain.get_sheet()
TfvDomain.get_statistics()
TfvDomain.get_timeseries()
TfvDomain.plot()
TfvDomain.plot_curtain()
TfvDomain.plot_curtain_interactive()
TfvDomain.plot_curtain_vector()
TfvDomain.plot_interactive()
TfvDomain.plot_vector()
TfvDomain.prep_interactive_slider()
- TfvTimeseries
- TfvDomain
- Extractor Module
- FvExtractor
FvExtractor
FvExtractor.nc2
FvExtractor.nv2
FvExtractor.is_tri
FvExtractor.is_quad
FvExtractor.edge_node
FvExtractor.weights
FvExtractor.tri_cell_node
FvExtractor.tri_cell_index
FvExtractor.nc
FvExtractor.nz
FvExtractor.idx2
FvExtractor.idx3
FvExtractor.idx4
FvExtractor.wli
FvExtractor.bli
FvExtractor.get_curtain_cell()
FvExtractor.get_curtain_cell_geo()
FvExtractor.get_curtain_cell_index()
FvExtractor.get_curtain_edge()
FvExtractor.get_curtain_grid()
FvExtractor.get_integral_data()
FvExtractor.get_mask_vector()
FvExtractor.get_profile_cell()
FvExtractor.get_raw_data()
FvExtractor.get_sheet_cell()
FvExtractor.get_sheet_grid()
FvExtractor.get_sheet_node()
FvExtractor.get_z_layer_faces()
FvExtractor.write_data_to_ascii()
FvExtractor.write_time_series_file()
- FvExtractor
- Time Series Module
- Visual Module
- Viewer Module
- Particles Module
- Geometry Module
- Xarray Module
Examples¶
Tutorial and example notebooks
- Examples
Support¶
For help with the tfv package contact support@tuflow.com