gsn_csm graphical interfaces
Data files for some examples
Example pages containing:
Pressure/Height vs. Longitude (high-level plot interface)
Data must be in pressure coordinates!
:Creates a simple
gsn_csm_pres_hgt plot interface
that plots height vs. longitude plots.
Note, this data is already on pressure levels. If this were model
data, it would be necessary to interpolate from the hybrid coordinates
to pressure levels before plotting.
: Changes the aspect
ratio of the plot.
vpXF = 0.13
vpWidthF = 0.75
vpHeightF = 0.45
Is an example of manually changing the aspect ratio of a plot. For more
examples on different ways to resize a plot, see our
resize special topics page.
This script uses an ESMF generated weight file
(See: ESMF Example 30
) to efficiently regrid a
source NARR curvilinear grid to a rectilinear grid. Then three cross sections are plotted:
(a) pressure x longitude; (b) pressure x latitude; and, (c) pressure x user_speciied_set_of_points.
For this example the user specified latitude/longitude locations lie along a great circle path
between two user specified locations (See: gc_latlon
). They could be
latitude/longitude locations along a (say) cold front.
ESMF Example 30
was run twice: bilinear and conservative interpolation. Bilinear interpolation
would generally be appropriate for any reasonably smooth variable. Conservation interpolation
would be recommended for interpolating flux quantities and variables that can be fractal (eg precipitation).