id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc 4769,NetCDF driver assumes 'x' 'y' to be names of dimension variables,korosov,warmerdam,"== Problem == If a dimension variable has a name other than 'x' or 'y' the 'units' attribute is not taken into account while setting projection from CF in netCDFDataset::SetProjectionFromVar(). == Example == The sample file is available here: http://thredds.met.no/thredds/catalog/cryoclim/met.no/osisaf-nh/catalog.html?dataset=cryoclim/met.no/osisaf-nh/osisaf-nh_aggregated_ice_concentration_nh_polstere-100_197810010000.nc It looks nice in Godiva2 but dimension names are 'xc' and 'yc' and their units are 'km'. gdal cannot get the units and interprets it as 'm'. That results in wrong calculation of lat/lon. == Solution == Replace hardcoded ""x"" and ""y"" with corresponding poDS->papszDimName. Patch is attached.",defect,closed,normal,1.9.2,default,svn-trunk,normal,fixed,"NetCDF, dimensions",etourigny