Graphics: NCL – Example

wrf_wps_plot_all.ncl

This example reads all fields in a geo_em file and plot them (can be used to read all fields in any input file).

In this script take note of the following:

    1. We do not plot the initial timestamp (res@InitTime = False) or footers (res@Footer = False);
    2. Reset default map color (mpres);
    3. Get all field names from file with NCL function getfilevarnames;
    4. Loop though all fields and plot them - some fields have special plotting options;
    5. Only plot un-staggered fields;
    6. If 3d field, plot only every 5th level.