NCL Home >
Documentation >
Functions >
Interpolation,
Ngmath routines
shsetp
Sets control parameters for Shgrid routines.
Prototype
procedure shsetp ( pnam [1] : string, pval )
Arguments
pnamThe name of the parameter you want to set. Choose one from this list.
pvalValue of the parameter to be set; it must be of a type appropriate to the parameter being set.
Description
The procedure shsetp sets the value of a named parameter of Shgrid.
Examples
begin
shsetp("nls",50) ; parameter names can be either upper or lower case
shsetp("nfl",5)
shsetp("ncl",3)
nls = shgetp("nls")
nfl = shgetp("nfl")
ncl = shgetp("ncl")
print(nls)
print(nfl)
print(ncl)
end