Re: [QGIS-Developer] Timestep for (Temporal) Mesh/netcdf layers?

2023-03-08 Thread Richard Duivenvoorde via QGIS-Developer
Ok, found it. It is in the temporalCapabilities... So given a loaded netcdf/mesh with time. Easiest is the firstTimeStepDuration(i) of QgsMeshDataProviderTemporalCapabilities: >>> p = iface.activeLayer().dataProvider().temporalCapabilities() >>> p >>> p.timeExtent() >>>

[QGIS-Developer] Timestep for (Temporal) Mesh/netcdf layers?

2023-03-07 Thread Richard Duivenvoorde via QGIS-Developer
Hi, When loading (temporal) Netcdf files (as MeshLayers), the 'timestep' that you see in the Temporal Controller does not change. I had a look at the api, but could not find any indication of knowledge by the QgsMeshLayer of the size of the timesteps of the data. Within netcdf's it is