Thanks Andrew, So, I can now force the reading with the HDF5 driver on local file and it also doesn't read the coordinates. Is this a bug in HDF5 driver?
gdalinfo --config GDAL_SKIP netCDF idades_v2012.grd Driver: HDF5Image/HDF5 Dataset Files: none associated Size is 2029, 1168 Metadata: Conventions=COARDS description=File written from Matlab node_offset=0 Source_Software=Mirone title=Grid computed inside Mirone _nc3_strict=1 Corner Coordinates: Upper Left ( 0.0, 0.0) Lower Left ( 0.0, 1168.0) Upper Right ( 2029.0, 0.0) Lower Right ( 2029.0, 1168.0) Center ( 1014.5, 584.0) Band 1 Block=1015x584 Type=Float32, ColorInterp=Undefined NoData Value=nan Metadata: z_actual_range=-0.0558451935648918 181.299896240234 z_long_name=z z_units=unknown z__FillValue=-nan(ind) |>-----Original Message----- |>From: gdal-dev <gdal-dev-boun...@lists.osgeo.org> On Behalf Of Andrew C |>Aitchison |>Sent: Sunday, June 2, 2019 2:35 PM |>To: Jeff McKenna <jmcke...@gatewaygeomatics.com> |>Cc: gdal-dev@lists.osgeo.org |>Subject: Re: [gdal-dev] vsicurl access to a netcdf file does not see the |>coordinates |> |>On Sun, 2 Jun 2019, Jeff McKenna wrote: |> |>> On 2019-06-01 6:52 PM, Joaquim Manuel Freire Lu?s wrote: |>>> Is there a way to force reading the grid locally with the HDF5 driver |>>> instead of the automatically picked netCDF driver? |>>> _______________________________________________ |>> |>> I come across this need often also, as many MS4W users leverage GDAL |>> through netCDF, HDF5, HDF4, but I'm not aware of a GDAL commandline |>option to 'skip' |>> raster drivers (OGR has "OGR_SKIP"). I could be wrong though. I have |>> seen other users request this |>> (https://trac.osgeo.org/gdal/ticket/5917) which seems to say that |>> there is a way through the GDAL API, but, I'm just not sure about the |>commandline. |> |>Rather like OGR_SKIP, the GDAL_SKIP environment variable skips raster drivers |>(tested with gdal 1.11 and 3.0.) |> |>-- |>Andrew C. Aitchison Cambridge, UK |> and...@aitchison.me.uk |>_______________________________________________ |>gdal-dev mailing list |>gdal-dev@lists.osgeo.org |>https://lists.osgeo.org/mailman/listinfo/gdal-dev _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev