Re: [Qgis-user] Can I open NetCDF files with QGIS?

2012-02-09 Thread Paolo Cavallini
Il 08/02/2012 19:59, Etienne Tourigny ha scritto: It's a pity this doesn't work directly in QGis - anybody know if this could be fixed/implemented? It would be great to support subdatasets by adding a layer for each subdataset, and perhaps even better with a dialog for selecting a particular

[Qgis-user] Can I open NetCDF files with QGIS?

2012-02-08 Thread Paolo Corti
Hi sorry if this has been discussed before, but according to what I see here [1] there was not an answer. I need to open a NetCDF file with QGIS. I am using QGIS 1.7.2, and GDAL 1.9.0. I can successfully manage NetCDF files with GDAL: $ gdalinfo --formats Supported Formats: ... netCDF (rw+):

Re: [Qgis-user] Can I open NetCDF files with QGIS?

2012-02-08 Thread Etienne Tourigny
It seems that QGis does not support GDAL raster subdatasets, I get this with netcdf and hdf4 files. Try this: gdal_translate -of vrt NETCDF:Glb_20111001.nc:cf_DangerRisk danger_risk.vrt qgis danger_risk.vrt For more information on subdatasets see the GDAL netcdf driver page:

Re: [Qgis-user] Can I open NetCDF files with QGIS?

2012-02-08 Thread Etienne Tourigny
Another solution is to have only one variable per file, you can do that with cdo easily. Etienne On Wed, Feb 8, 2012 at 4:59 PM, Etienne Tourigny etourigny@gmail.com wrote: It seems that QGis does not support GDAL raster subdatasets, I get this with netcdf and hdf4  files. Try this:

Re: [Qgis-user] Can I open NetCDF files with QGIS?

2012-02-08 Thread Yves Jacolin (free)
Hello, I successfully did it. But my email won't help you as I don't know why. I guess my gdal binaries from my company has something specific. Y. Le mercredi 8 février 2012 19:59:06, Etienne Tourigny a écrit : It seems that QGis does not support GDAL raster subdatasets, I get this with

Re: [Qgis-user] Can I open NetCDF files with QGIS?

2012-02-08 Thread Etienne Tourigny
QGis can open a netcdf file which has only 1 variable (along with supporting lat/lon or X/Y dimension variables). Perhaps that is what works for you? Etienne On Wed, Feb 8, 2012 at 5:42 PM, Yves Jacolin (free) yjaco...@free.fr wrote: Hello, I successfully did it. But my email won't help you

Re: [Qgis-user] Can I open NetCDF files with QGIS?

2012-02-08 Thread Yves Jacolin (free)
Etienne, I don't think so as my netcdf have several subdataset. I have a windows pop up which allow me to choose the subdataset. Y. Le mercredi 8 février 2012 20:55:20, Etienne Tourigny a écrit : QGis can open a netcdf file which has only 1 variable (along with supporting lat/lon or X/Y