NCL Home>
Application examples>
Models ||
Data files for some examples
Example pages containing: tidbits | resources | functions/procedures
CCSM Ice Model
These plots use the
gsn_csm_contour_map_polar
high-level plot interface. More examples
of its use are available on the polar example
page.
1D coordinate variables
ice_1.ncl: A simple plot showing ice thickness with a spectrum of color.gsn_csm_contour_map_polar is the plot interface that draws contours on a polar stereographicmap.
cnFillOn = True, Turns on the color fill.
1D coordinate variables
ice_2.ncl: A polar vector plot of ice velocity.gsn_csm_vector_map_polar is the plot interface that draws vectors on a polar stereographic map.
vcMonoLineArrowColor = False, Turns on color vectors.
To turn on curly vectors, set the resource vcGlyphStyle = "CurlyVector"
2D coordinate variables
ice_3.ncl: Demonstrates plotting ice variables from file that contain 2D coordinate variables. There are many more example of this technique on the pop ocean page.As of NCL version 4.2.0.a025, data that has 2D lat/lon coordinates can be plotted directly in physical space. To do this, simply read in the coordinates and assign them the following attributes:
lat2d = f->TLAT
lon2d = f->TLONG
t@lon2d = lon2d
t@lat2d = lat2d