[QGIS-Developer] Cannot save raster data in formats like NetCDF

fg-devel+qgis at mailbox.org fg-devel+qgis at mailbox.org
Fri Apr 19 11:48:59 PDT 2019


Hi list,

I wish to report a bug I've discovered when using QGIS Desktop.
Unfortunately, I cannot login to the bugtracker (never received an
activation email), so I'm reporting the bug on this list.

Saving raster data in formats like NetCDF is broken for me in operations
like "Clip Raster to Extent", because GDAL is run with the wrong output
format.

I can reproduce that by:
- opening e.g. "Clip Raster to Extent" dialog
- setting "Input layer" and "Clipping extent"
- setting "Clipped (extent)" to a (non-existing) NetCDF file

Expected Result:
The output format parameter of the shown GDAL command is "-of NetCDF".

Actual Result:
The output format parameter of the shown GDAL command is "-of GMT". When
run, GDAL exits with an error, telling it does not know format 'GMT'.


As a workaround, I'm just running the (corrected) GDAL command in my
terminal.

I'm using QGIS 3.6.1 and GDAL 2.3.2 on Arch Linux.

Greetings,
Felix


More information about the QGIS-Developer mailing list