Class: QgsMeshDatasetMetadata

class qgis.core.QgsMeshDatasetMetadata

Bases: sip.wrapper

Constructs an empty metadata object

QgsMeshDatasetMetadata(time: float, isValid: bool, minimum: float, maximum: float) Constructs a valid metadata object

Parameters:
  • time – a time which this dataset represents in the dataset group
  • isValid – dataset is loadad and valid for fetching the data
  • minimum – minimum value (magnitude for vectors) present among dataset values
  • maximum – maximum value (magnitude for vectors) present among dataset values

QgsMeshDatasetMetadata(QgsMeshDatasetMetadata)

QgsMeshDatasetMetadata is a collection of mesh dataset metadata such as whether the data is valid or associated time for the dataset

Note

The API is considered EXPERIMENTAL and can be changed without a notice

New in version 3.2: Enums

Methods

isValid Returns whether dataset is valid
maximum Returns maximum scalar value/vector magnitude present for the dataset
minimum Returns minimum scalar value/vector magnitude present for the dataset
time Returns the time value for this dataset

Signals

Attributes

isValid(self) → bool

Returns whether dataset is valid

maximum(self) → float

Returns maximum scalar value/vector magnitude present for the dataset

minimum(self) → float

Returns minimum scalar value/vector magnitude present for the dataset

time(self) → float

Returns the time value for this dataset