GrADS Script Library

basemap.gs Overlays a land or ocean mask that exactly fits the coastal outlines. Requires two supplemental data files: lpoly.asc and opoly.asc. See instructions in script header for using lpoly_US.asc to mask out non-US areas. A new set of polygons that fit the high-resolution coastal outlines in the region 15N-53N, 130W-60W is also available: lpoly_hires.asc and opoly_hires.asc.
cbar.gs and
cbarn.gs
Scripts to draw a long rectangular color legend next to shaded plots. cbarn has more features -- e.g. it draws outlines and triangular endpoints.
cbarc.gs Draws a small fan-shaped color legend in the corner of shaded plots.
cbar_l.gs and
cbar_line.gs
Scripts to draw a legend for line graphs.
cmap.gs
Creates a color table. See additional documentation.
connect_the_dots.gs
Draws a line connecting user's mouse clicks.
define_colors.gs
Defines a variety of colors using the set rgb command.
defval_demo.gs
Illustrates the use of q defval and set defval commands.
font.gs
Displays all the characters in a font set.
isen.gs
Displays a field interpolated to a specified isentropic level.
lats4d.gs
Writes NetCDF, HDF-SDS or GRIB files from GrADS. See additional documentation.
map.gs
Automates settings for a variety of useful map projections.
mconv.gs
Calculates moisture convergence.
panels.gsf and
panels_demo.gs
Scripts to create global variables that contain the 'set vpage' commands for a multi-panel plot. These also illustrate the dynamic loading of script functions.
script_math_demo.gs
Illustrates the use of the scripting language math funcitons.
pinterp.gs
Displays a field interpolated to a specified pressure level.
plotskew.gs
Draws a SkewT/LogP Diagram.
stack.gs
Delays display while command sequence is entered by user, then executes all at once.
string.gs
Draws a string located at position of user's mouse click.
sweat_index.gs
Calculates the SWEAT Index given relative humidity, temperature, and wind components.
traj.gs
Draws forward and backward trajectories in the horizontal plane.
use.gs
Similar to open except it checks the list of current files to see if the specified file has already been opened.
wxsym.gs
Displays available weather symbols.
xanim.gs
Controls an animated display.
zinterp.gs
Displays a field interpolated to a specified height level.