tecio.TecplotAuxDataReader#
- class tecio.TecplotAuxDataReader#
-
Read-only view of one Tecplot auxiliary-data mapping.
Backs dataset-, zone-, and variable-level auxiliary data for all three formats. Subclasses supply the underlying
{name: value}mapping through_load_data(), called at most once, on first access, and cached for the life of the object.Implements
collections.abc.Mapping, soget,keys,values,items,__contains__, andinall work without being redefined here.Note
A concrete subclass must call
super().__init__()first, then store any private fields it needs (the data source to lazily load from) withobject.__setattr__, the same contract asTecplotZoneReaderandTecplotVariableReader.Methods
as_bool(key[, default])Return the value for key as
bool, or default on failure.as_float(key[, default])Return the value for key as
float, or default on failure.as_int(key[, default])Return the value for key as
int, or default on failure.get(k[,d])items()Return the
(name, value)pairs.keys()Return the auxiliary data names.
values()Return the auxiliary data values.