Open tschmetzer opened 2 years ago
1. from https://dataplatform.knmi.nl/dataset/ssps-gpopd-v17
@tschmetzer I can't see a download link, just an API address which is not very convenient for who wants to do a quick test. Can you attach here the dataset?
@tschmetzer I can't see a download link, just an API address which is not very convenient for who wants to do a quick test. Can you attach here the dataset?
@tschmetzer disregard, I see the download links now.
@tschmetzer here the behaviour seems different: adding the dataset with d&d and choosing the mesh layer (the middle one) it brings immediately QGIS to a freeze.
disregard
I forgot to mention that you need to press "Toggle browser" underneath the "Broswe dataset" heading. Great you found it yourself :)
Closing several other applications, closing other QGIS instances and restarting QGIS -> the layer is displayed. Yet even with only one instance but several other layers already loaded there is a crash or mem alloc exception. Same bahaviour with several instances but loading only the NetCDF file and no other layers into a new project. Seems like a memory issue to me.
Trying with 3.22.0 under ubuntu, I can open it but... consume a lot of memory. I think the freeze come from the size of the mesh (more than 9 millions faces) and the time needed to load it. And the eventual crash could come form not enough RAM for this mesh. On my side, I need nearly 10 GBytes to open it. @tschmetzer, can you monitor your RAM when loading the file with the Resource Monitor?
Thank you @vcloarec. You seem to be right.
My notions:
What is the bug or the crash?
QGIS throws a bad allocation error when trying to load a layer of a NetCDF file from a public source
Steps to reproduce the issue
Versions
QGIS version 3.22.0-Białowieża QGIS code revision d9022691f1 Qt version 5.15.2 Python version 3.9.5 GDAL/OGR version 3.4.0 PROJ version 8.2.0 EPSG Registry database version v10.038 (2021-10-21) GEOS version 3.10.0-CAPI-1.16.0 SQLite version 3.35.2 PDAL version 2.3.0 PostgreSQL client version 13.0 SpatiaLite version 5.0.1 QWT version 6.1.3 QScintilla2 version 2.11.5 OS version Windows 10 Version 2009
Active Python plugins GroupStats 2.2.5 Qgis2threejs 2.6 QuickOSM 2.0.0 db_manager 0.1.20 grassprovider 2.12.99 MetaSearch 0.3.5 processing 2.12.99 sagaprovider 2.12.99
Supported QGIS version
New profile
Additional context
No response