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

Methods

isValid

Returns whether dataset is valid

time

Returns the time value for this dataset

isValid(self) → bool

Returns whether dataset is valid

Return type

bool

time(self) → float

Returns the time value for this dataset

Return type

float