Re: [gdal-dev] NetCDF projection help

2022-07-12 Thread Gerald Nelson
Have you tried using the R package terra? It imports netCDF pretty much painlessly. It has the latest version of GDAL in the background doing the heavy lifting. Gerald C. Nelson Professor Emeritus, UIUC +1 217-390-7888 (cell) +1 970-639-2079 (land line) Skype: jerrynelson http://bit.ly/1arho7d

Re: [gdal-dev] cURL response content output

2022-07-12 Thread Daniel Evans
Hi again, To loop back in the mailing list on the conversation Even and I had on the PR, the answer to my original question (at least in the /vsis3/ use case) was to enable CPL_DEBUG, which outputs the raw response in these sorts of error cases, e.g.: "CPLE_None in S3: \nNoSuchBucketThe specified

Re: [gdal-dev] NetCDF projection help

2022-07-12 Thread Even Rouault
Brendan, You need to warp the raster using the geolocation array formed by the lon and lat variable: gdalwarp -overwrite -geoloc CORDEX_subarea_O3.nc out.tif (possibly using -t_srs EPSG: to indicate a more relevant SRS than EPSG:4326) > why is the GDAL netcdf driver not properly creati

[gdal-dev] NetCDF projection help

2022-07-12 Thread DeTracey, Brendan
Hi, I have been "gifted" a netcdf raster that I must vectorize. When I load the raster into QGIS the coordinates are not correct. I believe that QGIS uses GDAL drivers. I have included a download link to the file, a ncdump -h, and gdalinfo output, all at the bottom of this message. The raster