tecio.utils#

General utilities for tecplot.

exception tecio.utils.TecplotNotFoundError[source]#

Bases: RuntimeError

Raised when Tecplot installation or components cannot be located.

exception tecio.utils.TecplotConversionError[source]#

Bases: RuntimeError

Raised when Tecplot fails a command line conversion operation.

tecio.utils.get_tec_exe()[source]#

Return absolute path to Tecplot executable.

tecio.utils.get_tec_bin()[source]#

Return Tecplot bin directory.

  • macOS: Contents/Frameworks

  • Linux: directory containing the executable

tecio.utils.get_tecio_lib()[source]#

Return full path to the TecIO shared library.

Search order: 1. TECIO_LIB environment variable 2. Local project build directories (CI/dev) 3. Installed Tecplot distribution

tecio.utils.get_tec_version()[source]#

Return Tecplot version formatted as YYYYR#.

tecio.utils.convert_to_szl(input_path, output_path=None)[source]#

Convert a Tecplot data file to SZL (.szplt) format from the command line.