Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
fd8579e6
Commit
fd8579e6
authored
Jul 08, 2016
by
Uwe Schulzweida
Browse files
Docu update.
parent
f64c5b3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/Gridmapping
View file @
fd8579e6
...
...
@@ -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
=======================================
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment