Script templates for NCL regridding and graphics

This page contains some NCL scripts that you can download for doing creating visualizations of your data, adding shapefile outlines, adding primitives, or doing ESMF regridding. Most of these are short scripts with a minimal number of resources set.

For more "real world" scripts with lots of graphics, visit the Examples page.


Plots over maps


Plots (not over maps)


Maps only


WRF plots

  • wrf_simple_gsn_template.ncl - very basic template for creating a color contour/map plot of WRF data. This script doesn't set many resources.

  • wrf_contour_map_gsn_template.ncl - template for creating color contours over a map of WRF data. This script sets more resources than the "wrf_simple_template.ncl" script, and it also gives you the option to use the WRF map projection information on the file.

  • wrf_simple_native_template.ncl - very basic template for creating color contour/map plot of WRF data, using native projection supplied on WRF output file. This script doesn't set many resources.

  • wrf_hgt_shapefile_template.ncl - template for creating color contours over a map of WRF data, and attaching shapefile outlines from USA and Canada shapefiles downloaded from http://www.gadm.org/country. This script uses WRF functions to do the plotting, and a gsn function to add the shapefile outlines.


Adding shapefile outlines to a map plot


Attaching primitives (lines, markers, polygons)


ESMF regridding templates

Note: If you are using NCL version 6.1.0-beta and not 6.1.0, then please consider upgrading to version 6.1.0. Otherwise, be sure to download the latest ESMF_regridding.ncl script before using these templates. This file should be used in place of the "$NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl" one provided in V6.1.0-beta.

For more ESMF regridding examples, you can visit the the ESMF Regridding examples page.