Opened 19 years ago

Last modified 19 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 by dfriberg@…, 19 years ago

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

comment:2 by denis.nadeau@…, 19 years ago

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

comment:3 by dfriberg@…, 19 years ago

OK, try again.

comment:4 by denis.nadeau@…, 19 years ago

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

comment:5 by dfriberg@…, 19 years ago

Is fix in GDAL 1.3.0 (posted Aug 15)?

comment:6 by denis.nadeau@…, 19 years ago

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 by dfriberg@…, 19 years ago

Works!

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