MDAL icon indicating copy to clipboard operation
MDAL copied to clipboard

SAGA grib crashes QGIS

Open saberraz opened this issue 6 years ago • 4 comments

Not sure where this tickets belong to: here, Crayfish or QGIS!!

But grib file generated by Crayfish for SAGA flow direction crashes QGIS. Here is the output of mdalinfo:

mdalinfo 0.5.90
Mesh File: flowDir.grb
ERROR: Status 5: Driver: NETCDF: Mesh does not have any valid dataset
Mesh loaded: OK
  Driver: GRIB
  Vertex count: 37855337
  Edge count: 0
  Face count: 37842756
  Edge count: 0
  Projection: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],AUTHORITY["EPSG","4326"]]
Datasets loaded: OK
  Groups count: 1
  (prodType 0, cat 255, subcat 255) [-]

saberraz avatar Apr 08 '20 06:04 saberraz

I get this in QGIS 3.10: image

saberraz avatar Apr 08 '20 06:04 saberraz

Here is a sample output from Crayfish converted SAGA flow direction to GRIB: flowDir.grb.zip

saberraz avatar Apr 08 '20 06:04 saberraz

It seems that I ran out of memory just before the crash. The QGIS memory usage was 14 GB for loading the above file (less than 300 mb)!! image

saberraz avatar Apr 08 '20 07:04 saberraz

@saberraz is this still an issue with 3.16?

PeterPetrik avatar Oct 30 '20 08:10 PeterPetrik