Re: [gdal-dev] NetCDF rotated grid support

2020-04-23 Thread Rousseau Lambert2, Louis-Philippe (EC)
Great thanks a lot ! I also think that something like GRIB2 would be nice for NetCDF. I will take note of this for future improvement to the NetCDF driver :) LP On 2020-04-23 14:46, Even Rouault wrote: Louis-Philippe, > I did some more tests with the rotated_pole.nc in gdal GitHub repo > (

Re: [gdal-dev] NetCDF rotated grid support

2020-04-23 Thread Even Rouault
Louis-Philippe, > I did some more tests with the rotated_pole.nc in gdal GitHub repo > (https://github.com/OSGeo/gdal/tree/master/autotest/gdrivers/data) just to > make sure the issue was not with my data. > > With the new versions, the EXTENSION is missing from the WKT, which I guess > makes the

Re: [gdal-dev] NetCDF rotated grid support

2020-04-23 Thread Rousseau Lambert2, Louis-Philippe (EC)
Hi Even, I can confirm I also find that working with those projections is a nightmare ;) I did some more tests with the rotated_pole.nc in gdal GitHub repo (https://github.com/OSGeo/gdal/tree/master/autotest/gdrivers/data) just to make sure the issue was not with my data. I found that I also h

Re: [gdal-dev] NetCDF rotated grid support

2020-04-15 Thread Even Rouault
Louis-Philippe, Support for rotated grid is a nightmare due to different conventions used for GRIB, netCDF or PROJ ob_tran method. The GDAL GRIB and netCDF drivers normally do what is needed map from the native product convention to the PROJ one. Below 2 emails I wrote some time ago the OGC C

Re: [gdal-dev] NetCDF rotated grid support

2020-04-15 Thread Rousseau Lambert2, Louis-Philippe (EC)
Thanks Even for your answer. Than I guess it's a problem with my NetCDF projection definition since it is not projected correctly when I view it... I also found out that I cannot reproject those NetCDF (with a rotated grid) to a standard projection like EPSG:4326, it fails with: ERROR 1: Too m

Re: [gdal-dev] NetCDF rotated grid support

2020-04-14 Thread Even Rouault
Louis-Phillipe, Reading netCDF or GRIB2 rotated grids works, but not writing them to netCDF. That could potentially be added, but this is not handled currently. Even -- Spatialys - Geospatial professional services http://www.spatialys.com ___ gdal-d

[gdal-dev] NetCDF rotated grid support

2020-04-14 Thread Rousseau Lambert2, Louis-Philippe (EC)
Hi all, I have a NetCDF file with a rotated grid that I try to manipulate with GDAL (master build GDAL 3.1.0dev-c6bff27467, released 2020/04/14) and open in QGIS (nightly build) and it looks like the rotated grid is not recognized or supported: ERROR 1: Only OGC WKT GEOGCS and PROJCS Projectio