Opened 10 years ago

Closed 10 years ago

#4874 closed defect (fixed)

netcdf driver does not recognize 2 pixel width or height datasets and reports geotransform for 1-pixel datasets

Reported by: etourigny Owned by: etourigny
Priority: normal Milestone:
Component: GDAL_Raster Version: 1.9.2
Severity: normal Keywords:
Cc:

Description

When a dataset has 2 pixels width or height, the pixel spacing detection algorithm fails and the geotransform and projection is not recognized. See attached file which illustrates the problem.

Attachments (1)

trmm-2x2.nc (2.0 KB ) - added by etourigny 10 years ago.

Download all attachments as: .zip

Change History (4)

by etourigny, 10 years ago

Attachment: trmm-2x2.nc added

comment:1 by etourigny, 10 years ago

Version: unspecified1.9.2

comment:2 by etourigny, 10 years ago

A related bug, is taht 1-pixel datasets will have an incorrect geotransform, so they should be detected as well.

comment:3 by etourigny, 10 years ago

Resolution: fixed
Status: newclosed
Summary: netcdf driver does not recognize 2 pixel width or height datasetsnetcdf driver does not recognize 2 pixel width or height datasets and reports geotransform for 1-pixel datasets

added test to trunk in r25176.

fixed in trunk (r25177) and 1.9 (r25178)

Note: See TracTickets for help on using tickets.