#2583 closed defect (fixed)
[PATCH] five dimensional file image access fails for some dimensions
Reported by: | warmerdam | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | GDAL_Raster | Version: | svn-trunk |
Severity: | normal | Keywords: | netcdf |
Cc: | mdsumner, dnadeau |
Description
Attempts to read image data from bands 5 to 8 in the file:
results in errors like:
ERROR 1: netCDF scanline fetch failed: Index exceeds dimension bound ERROR 1: IReadBlock failed at X offset 0, Y offset 0 ERROR 1: netCDF scanline fetch failed: Index exceeds dimension bound ERROR 1: IReadBlock failed at X offset 0, Y offset 1
and all imagery comes back zeros.
I tested with trunk.
Attachments (1)
Change History (8)
comment:1 by , 15 years ago
Cc: | added; removed |
---|
by , 14 years ago
Attachment: | netcdfdataset_highD.patch added |
---|
comment:2 by , 14 years ago
I uploaded a patch to fix this. It allows this file and other 5D and above NetCDF files to be read correctly.
comment:3 by , 14 years ago
I uploaded an R example to generate a file for testing.
http://trac.osgeo.org/gdal/attachment/wiki/CodeSnippets/netCDF-5D.R
comment:4 by , 14 years ago
Summary: | five dimensional file image access fails for some dimensions → [PATCH] five dimensional file image access fails for some dimensions |
---|
comment:5 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:6 by , 14 years ago
Milestone: | 1.5.4 → 1.6.4 |
---|
Note:
See TracTickets
for help on using tickets.
patch for netcdfdataset.cpp