tecio.TecplotDatReader#
- class tecio.TecplotDatReader(path)#
Bases:
TecplotReaderReader for Tecplot ASCII DAT files.
The entire file is parsed into memory at construction. Holds no open file handle between accesses,
close()is a no-op (inherited from the base class default), same as PLT.- Parameters:
path – Path to the
.datfile.- Raises:
FileNotFoundError – If path does not exist.
ValueError – On unsupported format features.
Attributes
Return the dataset-level auxiliary data.
Return
FileTypeenum for this file.num_auxdata_itemsNumber of dataset-level auxiliary data items.
Return the number of variables in the dataset.
Return the number of zones in the file.
Source file path.
Return the dataset title string.
var_auxdataPer-variable auxiliary data, 0-based.
Return the ordered list of variable name strings.
Zones in this file, by index or slice.
Methods
close()Release any open resources.
get_var_auxdata(var_index)Return auxiliary data for variable var_index.
get_zone_auxdata(zone_index)Return auxiliary data for zone zone_index.
- property auxdata#
Return the dataset-level auxiliary data.
- property num_vars#
Return the number of variables in the dataset.
- property num_zones#
Return the number of zones in the file.
- property path#
Source file path.
- property title#
Return the dataset title string.
- property variables#
Return the ordered list of variable name strings.
- property zones#
Zones in this file, by index or slice.