Graphics: NCL – Example

wrf_Cross2D.ncl

Example script illustrating how to calculate data along a cross section line for 2D fields.

In this script note:

    1. All data for field T2 is read in one step (wrf_user_getvar);
    2. A cross section line is created;
    3. Along which the data is interpolated (wrf_user_interp2d;
    4. This is then plotted as an xy plot
    5. Longitude data along the line is collected for the X-axis.