Skip to content
Snippets Groups Projects
Commit fd8579e6 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Docu update.

parent f64c5b3d
No related branches found
No related tags found
No related merge requests found
......@@ -32,8 +32,8 @@ Example 1: rotated_latitude_longitude
T_2M_AV:coordinates = "lon lat" ;
gridtype = GRIB_CURVILINEAR
xsize = 334
ysize = 334
xsize = 106
ysize = 111
xname = lon
xvals = ...
yname = lat
......@@ -48,6 +48,24 @@ grid_north_pole_latitude = 39.25f
grid_north_pole_longitude = -162.f
long_name = "coordinates of the rotated North Pole"
gridID = gridCreate(GRID_CURVILINEAR, size)
gridDefXsize(gridID, xsize)
gridDefYsize(gridID, ysize)
gridDefXvals(gridID, xvals)
gridDefYvals(gridID, yvals)
....
projID = gridCreate(GRIB_PROJECTION, size)
gridDefKeyStr(projID, CDI_KEY_MAPPINGNAME, len, string)
gridDefKeyStr(projID, CDI_KEY_PNAME, len, string)
gridDefXsize(projID, xsize)
gridDefYsize(projID, ysize)
gridDefXvals(projID, xvals)
gridDefYvals(projID, yvals)
gridDefAttStr(projID, NAME, len, string);
gridDefAttFlt(projID, NAME, len, array);
....
gridDefProjection(gridID, projID);
=======================================
Example 2: lambert_azimuthal_equal_area
=======================================
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment