Opened 15 years ago

Last modified 15 years ago

#846 closed defect (fixed)

netCDFRasterBand::IReadBlock fails for given data when called via GDALRasterBand::GetBlockRef(0, 0)

Reported by: dfriberg@… Owned by: denis.nadeau@…
Priority: high Milestone:
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords:
Cc:

Description

nc_get_vara_float is getting an error when it calls NCedgeck.  It appears to be
using the y boundaries to check whether x read length is too long.

I tried running the ncdump utility that comes with netcdf (on the same data),
and found that the "varid" parameter passed is different than what is passed by
IReadBlock().

Change History (7)

comment:1 Changed 15 years ago by dfriberg@…

ftp://ftp.microimages.com/pub/outgoing/gdal/mfrsr.cdf

comment:2 Changed 15 years ago by denis.nadeau@…

Could you make the data available again for testing?
Thanks.

comment:3 Changed 15 years ago by dfriberg@…

OK, try again.

comment:4 Changed 15 years ago by denis.nadeau@…

I have fixed the problem.  Try again and let me know if it works as it should.

comment:5 Changed 15 years ago by dfriberg@…

Is fix in GDAL 1.3.0 (posted Aug 15)?

comment:6 Changed 15 years ago by denis.nadeau@…

No, It is not.

The change are now in the CVS Repository. (08/19/2005 16:19)

You need to recompile it after retreiveing the new changes.
cd gdal/frmts/netcdf
cvs update

comment:7 Changed 15 years ago by dfriberg@…

Works!

Thanks.
Note: See TracTickets for help on using tickets.