<div dir="ltr"><div>Dear NCL users i plotted the wind vector data but map is generated without country boundaries. please see attached figure.<br><br></div>How to draw country lines ?? <br><div><br><br><br>;----------------------------------------------------------------------<br><br>load "/usr/local/lib/ncl/lib/ncarg/nclscripts/csm/gsn_code.ncl"<br>load "/usr/local/lib/ncl/lib/ncarg/nclscripts/csm/gsn_csm.ncl"<br>load "/usr/local/lib/ncl/lib/ncarg/nclscripts/csm/shea_util.ncl"<br><br>begin<br>;---Read data <br> a = addfile("/home/kunal/Pictures/NCL_Scripts/plot/<a href="http://mar_wind.nc">mar_wind.nc</a>","r")<br><br>;---Read in zonal [u] and meridional [v] winds <br> u = a->U(:,:)<br> v = a->V(:,:) <br> <br> ; lat = a->u&lat<br> ; lon = a->u&lon<br><br>;---Create plot<br> wks_type = "pdf" <br> wks_type@wkPaperSize = "A4"<br> wks = gsn_open_wks(wks_type, "mar_wind")<br><br> ; cmap = read_colormap_file("BlAqGrYeOrReVi200")<br><br> res = True<br> res@vcMinFracLengthF = 1.0 ;-- length of min vector as ;-- fraction of reference vector<br> res@vcRefMagnitudeF = 3.0 ;-- make vectors larger<br> res@vcRefLengthF = 0.045 ;-- ref vec length<br> res@vcGlyphStyle = "CurlyVector" ;-- turn on curly vectors<br> res@vcMinDistanceF = 0.01 ;-- thin out vectors<br> ; res@tiMainString = "March_Wind"<br> res@vcMonoLineArrowColor = False <br><br> plot=gsn_csm_vector(wks,u,v,res) ; create plot<br><br><br>end<br><br clear="all"><div><div><div class="gmail_signature"><div dir="ltr"><div><br><br><br><br></div><div><br></div><div><font color="#1F497D">Kunal Bali<br></font></div></div></div></div>
</div></div></div>