Script templates for NCL regridding and graphics
This page contains some NCL scripts that you can download for doing creating visualizations of your data 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:
- contour_map_nores_template.ncl -
template for creating contours over a map, no resources are set
- contour_map_template.ncl -
template for creating contours over a map
- contour_map_lc_template.ncl -
template for creating contours over a Lambert Conformal map
- vector_map_template.ncl - template
for creating vectors over a map
- wrf_contour_map_template.ncl
- template for using gsn_csm_xxx scripts to plot WRF output data
- xy_template.ncl - template for
creating XY plots
- scatter_template.ncl - template for
creating scatter plots
- contour_template.ncl - template
for creating contour plots
- vector_template.ncl - template
for creating vectors
- adding_polylines_template.ncl
- template for attaching polylines to a map plot
- adding_polymarkers_template.ncl
- template for attaching polymarkers to a map li
- adding_polygons_template.ncl
- template for attaching polygons to a map plot
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.
- rectilinear ---> 5 degree grid
(ESMF_rect_to_5deg.ncl)
- rectilinear ---> curvilinear
(ESMF_rect_to_curv.ncl)
- rectilinear ---> unstructured
(ESMF_rect_to_unstruct.ncl)
- curvilinear ---> 1 degree grid
(ESMF_curv_to_1deg.ncl)
- curvilinear ---> curvilinear
(ESMF_curv_to_curv.ncl)
- curvilinear ---> unstructured
(ESMF_curv_to_unstruct.ncl)
- curvilinear ---> WRF
(ESMF_curv_to_WRF.ncl)
- unstructured ---> 0.25 degree grid
(ESMF_unstruct_to_0.25deg.ncl)
- unstructured ---> rectilinear
(ESMF_unstruct_to_rect.ncl)
- unstructured ---> curvilinear
(ESMF_unstruct_to_curv.ncl)
- WRF ---> rectilinear
(ESMF_WRF_to_rect.ncl)
- WRF ---> curvilinear
(ESMF_WRF_to_curv.ncl)
- generic template
(ESMF_regrid_template.ncl) -
uses the single ESMF_regrid function
- generic template
(ESMF_regrid_with_weights_template.ncl)
- uses the ESMF_regrid_with_weights
function to do the regridding. You must already have the weights file
to use this.
- generic template (ESMF_template.ncl) - does the regridding in several steps