Graphics: NCL - Example

Example scripts to get and plot a single field.

wrf_metgrid2.ncl

In this script note:

    1. We are using wrf_user_getvar to get the field "SKINTEMP" from a met_em file. But any variable available in any WRF file can be obtained the same way;
    2. wrf_contour is used to generate the graphic ;
    3. wrf_map_overlays is used to plot the graphic over a map background ;
    4. We are switching all footers off (res@Footer = False);
    5. We use all default values for plot and map resources.

wrf_metgrid1.ncl

In this script note:

    1. Different between this script and the one above, is that we specify the contour levels (opts@ContourParameters) and generate a RasterFill (opts@cnFillMode) plot - typical for a landuse plot.