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