You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rduivenvoorde opened this issue
Jun 9, 2022
· 0 comments
Labels
BugEither a bug report, or a bug fix. Let's hope for the latter!MeshRelated to general mesh layer handling (not specific data formats)TemporalTemporal filtering or animation
Researching the use of netcdf ugrids and creating a tiny test netcdf with just 3 timesteps, after loading in QGIS, the TimeController just shows 2 timesteps.
Only when you manually change the Animation range to something longer, it will show all timesteps.
Make sure you use 'Step' '24 hours'
You will see there are just 2 steps possible:
While in ncdump you will see:
time = 0, 24, 48 ;
step 0 has just 1 value 33
step 1 has 2 values 33, 44
step 3 has 2 values 44, 55
When opening the file you will see Animation range: 2020-01-01 00:00:00 - 2020-01-03 00:00:00
while data is:
"hours since 2020-01-01 00:00:00.0"
time = 0, 24, 48 ;
If you change the Animation range manually to 2020-01-03 01:00:00 (adding 1 hour) you will be able to see the last step
So I think it has something to do with Animation Range given?
Step 1
Step 2
Step 3 (ONLY after changing Animation Range):
Exact the same can be seen with the mdal test data:
QGIS version
3.25.0-Master
QGIS code revision
[1af9c81](https://github.com/qgis/QGIS/commit/1af9c8150c0)
Qt version
5.15.2
Python version
3.10.4
GDAL/OGR version
3.4.3
PROJ version
9.0.0
EPSG Registry database version
v10.054 (2022-02-13)
GEOS version
3.10.2-CAPI-1.16.0
SQLite version
3.38.5
PostgreSQL client version
unknown
SpatiaLite version
5.0.1
QWT version
6.1.4
QScintilla2 version
2.11.6
OS version
Debian GNU/Linux bookworm/sid
Supported QGIS version
I'm running a supported QGIS version according to the roadmap.
New profile
I tried with a new QGIS profile
Additional context
No response
The text was updated successfully, but these errors were encountered:
rduivenvoorde
added
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Mesh
Related to general mesh layer handling (not specific data formats)
Temporal
Temporal filtering or animation
labels
Jun 9, 2022
BugEither a bug report, or a bug fix. Let's hope for the latter!MeshRelated to general mesh layer handling (not specific data formats)TemporalTemporal filtering or animation
What is the bug or the crash?
Researching the use of netcdf ugrids and creating a tiny test netcdf with just 3 timesteps, after loading in QGIS, the TimeController just shows 2 timesteps.
Only when you manually change the Animation range to something longer, it will show all timesteps.
Reproducable with both a tiny nc ugrid or the MDAL test ugrid:
https://github.com/lutraconsulting/MDAL/blob/master/tests/data/ugrid/D-Flow1.2/bw_11_zonder_riviergrid_met_1dwtg_map.nc
Steps to reproduce the issue
Load this tiny ugrid in QGIS as mesh:
ugrid.zip
Make sure you use 'Step' '24 hours'
You will see there are just 2 steps possible:
While in ncdump you will see:
step 0 has just 1 value 33
step 1 has 2 values 33, 44
step 3 has 2 values 44, 55
When opening the file you will see Animation range: 2020-01-01 00:00:00 - 2020-01-03 00:00:00
while data is:
"hours since 2020-01-01 00:00:00.0"
time = 0, 24, 48 ;
If you change the Animation range manually to 2020-01-03 01:00:00 (adding 1 hour) you will be able to see the last step
So I think it has something to do with Animation Range given?
Step 1
Step 2
Step 3 (ONLY after changing Animation Range):
Exact the same can be seen with the mdal test data:
https://github.com/lutraconsulting/MDAL/blob/master/tests/data/ugrid/D-Flow1.2/bw_11_zonder_riviergrid_met_1dwtg_map.nc
It has 23 steps:
But you can only do 22 steps (unless you add some time to the Animation Range)
Versions
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: