id summary reporter owner description type status priority milestone component version severity resolution keywords cc 2129 NetCDF created by GDAL not CF-1.0 compliant for geographical grids bokhorst dnadeau "The NetCDF created by GDAL for a (non-projected) geographical grid does not seem to be CF-1.0 compliant, although the 'Conventions' attribute states otherwise. The part that is not compliant is the grid_mapping_name ""Geographics Coordinate System"" that is not a valid grid_mapping_name in CF-1.0. Here is an example of a GDAL-generated NetCDF (in CDL, only the header): {{{ netcdf gdal_netcdf { dimensions: x = 10 ; y = 10 ; variables: char GDAL_Geographics ; GDAL_Geographics:Northernmost_Northing = 55. ; GDAL_Geographics:Southernmost_Northing = 60. ; GDAL_Geographics:Easternmost_Easting = 5. ; GDAL_Geographics:Westernmost_Easting = 0. ; GDAL_Geographics:spatial_ref = ""GEOGCS[\""WGS 84\"",DATUM[\""WGS_1984\"",SPHEROID[\""WGS 84\"",6378137,298.257223563,AUTHORITY[\""EPSG\"",\""7030\""]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY[\""EPSG\"",\""6326\""]],PRIMEM[\""Greenwich\"",0,AUTHORITY[\""EPSG\"",\""8901\""]],UNIT[\""degree\"",0.01745329251994328,AUTHORITY[\""EPSG\"",\""9122\""]],AUTHORITY[\""EPSG\"",\""4326\""]]"" ; GDAL_Geographics:GeoTransform = ""0 0.5 -0 55 0 0.5 "" ; GDAL_Geographics:grid_mapping_name = ""Geographics Coordinate System"" ; GDAL_Geographics:long_name = ""Grid_latitude"" ; float Band1(y, x) ; Band1:_FillValue = 0.f ; Band1:grid_mapping = ""GDAL_Geographics"" ; Band1:long_name = ""GDAL Band Number 1"" ; // global attributes: :Conventions = ""CF-1.0"" ; data: } }}} " task closed normal GDAL_Raster 1.8.1 normal fixed netcdf, cf Kyle Shannon etiennesky JoshVote pds