lev2z.gsf
Name
lev2t() - Convert vertical level (lev) to vertical grid number (z).
Synopsis
ret = lev2z( lev )
Options and Return values
- lev
- Vertical level.
- ret
- Vertical grid number (z).
Examples
(1) Obtain vertical grid number for 100hPa.
-
test.gs
rc = gsfallow( 'on' ) 'open t.ctl' say lev2z( 100 )
-
console
ga-> test 17
Script source code
- lev2z.gsf (necessary)