tfv documentation¶
tfv is a suite of tools for post-processing results from TUFLOW FV, a hydrodynamic, sediment transport, water quality and particle tracking modelling software.
The primary 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).
From command prompt install and update using pip:
$ pip install tfv
*Note: Version 1.0.4 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 Tools Page.
API Reference¶
Class reference documentation
- Examples
- API Reference
- Xarray Module
- Introduction
- Usage
- Accessor methods
- TfvDomain
TfvDomainTfvDomain.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
FvExtractorFvExtractor.nc2FvExtractor.nv2FvExtractor.is_triFvExtractor.is_quadFvExtractor.edge_nodeFvExtractor.weightsFvExtractor.tri_cell_nodeFvExtractor.tri_cell_indexFvExtractor.ncFvExtractor.nzFvExtractor.idx2FvExtractor.idx3FvExtractor.idx4FvExtractor.wliFvExtractor.bliFvExtractor.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
Support¶
For help with the tfv package contact support@tuflow.com