[gdal-dev] CF-1.0 Convention and netCDF driver

Kyle Shannon ksshannon at gmail.com
Tue Feb 16 16:54:13 EST 2010


I have been working quite a bit with the netcdf driver and weather data.  I
am noticing that many CF-1.0 (NetCDF Climate and Forecast Metadata
Convention) tags are not supported or referenced in the driver.  In many
cases this forces some data to be set to a default.  I am mostly working in
the spatial reference tags and this is causing problems as I don't know
where my grids are in space.

>From the NetCDF format page:

> Georeference There is no universal way of storing georeferencing in netCDF
> files. The driver first tries to follow the CF-1 Convention from UNIDATA
> looking for the Metadata named "grid_mapping". If "grid_mapping" is not
> present, the driver will try to find an lat/lon grid array to set
> geotransform array. The NetCDF driver verifies that the Lat/Lon array is
> equally space.
>
> If those 2 mehtods fail, NetCDF driver will try to read the following
> metadata directly and set up georefenrencing.
>
>    - spatial_ref (Well Known Text)
>
>
>    - GeoTransform (GeoTransform array)
>
> or,
>
>    - Northernmost_Northing
>    - Southernmost_Northing
>    - Easternmost_Easting
>    - Westernmost_Easting
>
> Is it in the best interest of everyone (or most people) to follow CF-1.0 as
the NetCDF Format states?

regards,
kss

# ===================
Kyle Shannon
Physical Science Technician
RMRS Fire Sciences Lab
Fire, Fuels & Smoke - RWU 4405
5775 Highway 10 W.
Missoula, MT 59808
(406) 829-6954
kshannon at fs.fed.us
# ===================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100216/3de5d78f/attachment.html


More information about the gdal-dev mailing list