Data files for some examples
Example pages containing:
This page demonstrates slices.
: A slice of an ocean
sfXArray= lon_t, and
sfXArray= z_t/100 set the
vectors to be used for the x and y axis respectively.
Most vertical axis are irregular. We can display them as a linear
axis by setting
gsnYAxisIrregular2Linear = True
Frequently, we will need to reverse the y axis. This is done by setting
trYReverse = True
: A slice of data that
contains no geophysical coordinates
Because this data has no lat/lon coordinate arrays, we use
gsn_contour which does not look
for geophysical coordinates.
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).