; ; File: ; TRANS_contour_lines_on_map.ncl ; ; Synopsis: ; Illustrates how to create a contour line plot on a map ; ; Categories: ; contour plot ; map plot ; ; Author: ; Karin Meier-Fleischer ; ; Date of initial publication: ; September 2018 ; ; Description: ; This example shows how to create a contour line plot on a map. ; ; Effects illustrated: ; o Drawing a contour line plot ; o Drawing a map ; ; Output: ; A single visualization is produced. ; ; Notes: The data for this example can be downloaded from ; http://www.ncl.ucar.edu/Document/Manuals/NCL_User_Guide/Data/ ; /; Transition Guide NCL Example: TRANS_contour_lines_on_map.ncl - contour lines - map plot 18-09-04 kmf ;/ f = addfile("rectilinear_grid_3D.nc","r") var = f->t(0,0,:,:) ;-- start the graphics wks = gsn_open_wks("png",get_script_prefix_name()) ;-- resource settings res = True res@gsnMaximize = True res@mpGridAndLimbOn = True ;-- draw grid lines ;-- create the contour plot plot = gsn_csm_contour_map(wks,var,res)