Subgroup: Mesh

Class: QgsMeshDatasetMetadata

class qgis.core.QgsMeshDatasetMetadata

Bases: sip.wrapper

Constructs an empty metadata object

QgsMeshDatasetMetadata(time: float, isValid: bool) 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

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: Methods

isValid Returns whether dataset is valid
time Returns the time value for this dataset

Signals

Attributes

isValid(self) → bool

Returns whether dataset is valid

time(self) → float

Returns the time value for this dataset