<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Hello NCLers, I am trying to make a wind overlay plot. I have been able to make the plot from the overlay template. <br><br>[1] first plot in panel seem to only appear with some empty line through it when gsnAddCyclic = False (please see attached) whereas vice-versa distorts the other plots.<br><br>[2] Also I want to increase the font size of the contour labels.<br><br> Any help will be much appreciated.<br><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Kwesi.<br><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Here&#39;s my script;<br><br>begin<br>   fili    = &quot;700_ncepJULY.nc&quot;<br>   a       = addfile (diri+fili , &quot;r&quot;) <br>   uwnd = a-&gt;uwnd(0,0,:,:)<br>   printVarSummary(uwnd)<br><br>   fili    = &quot;700_eraJULY.nc&quot;<br>   b       = addfile (diri+fili , &quot;r&quot;) <br>   ua = b-&gt;ua(0,0,:,:)<br><br>   fili    = &quot;700_ccmaJULY.nc&quot;<br>   c       = addfile (diri+fili , &quot;r&quot;) <br>   ua1 = c-&gt;ua(0,0,:,:)<br>   printVarSummary(ua1)<br><br><br>   fili    = &quot;700_cnrmJULY.nc&quot;<br>   d       = addfile (diri+fili , &quot;r&quot;) <br>   ua2 = d-&gt;ua(0,0,:,:)<br><br>   fili    = &quot;700_ichecJULY.nc&quot;<br>   e       = addfile (diri+fili , &quot;r&quot;) <br>   ua3 = e-&gt;ua(0,0,:,:)<br><br>   fili    = &quot;700_ipslJULY.nc&quot;<br>   f       = addfile (diri+fili , &quot;r&quot;) <br>   ua4 = f-&gt;ua(0,0,:,:)<br><br>   fili    = &quot;700_mirocJULY.nc&quot;<br>   g       = addfile (diri+fili , &quot;r&quot;) <br>   ua5 = g-&gt;ua(0,0,:,:)<br><br>   fili    = &quot;700_mohcJULY.nc&quot;<br>   h       = addfile (diri+fili , &quot;r&quot;) <br>   ua6 = h-&gt;ua(0,0,:,:)<br><br>   fili    = &quot;700_mpiJULY.nc&quot;<br>   i       = addfile (diri+fili , &quot;r&quot;) <br>   ua7 = i-&gt;ua(0,0,:,:)<br><br>   fili    = &quot;700_nccJULY.nc&quot;<br>   j       = addfile (diri+fili , &quot;r&quot;) <br>   ua8 = j-&gt;ua(0,0,:,:)<br><br>  wks = gsn_open_wks(&quot;pdf&quot;,&quot;julyuwnd@700hPa&quot;)         ; send graphics to PNG file<br>  <br><br>  ;set resources <br>  res = True<br>  res@mpFillOn     = False<br>  res@mpMaxLatF    = 25.                      ; specify the plot domain<br>  res@mpMinLatF    = 0.                      ;                         <br>  res@mpMinLonF    = -20.                     ;<br>  res@mpMaxLonF    = 20.                     ;<br>  res@mpOutlineOn  = True                  ; turn the map outline on<br>  res@gsnDraw      =  False                   ; do not draw the plot<br>  res@gsnFrame     =  False                   ; do not advance the frame<br>  res@gsnAddCyclic      =False<br>  res@pmTickMarkDisplayMode = &quot;Always&quot;    ; nicer tickmarks<br>  res@mpCenterLonF         = 0.                ; Centers the plot at 180 <br><br>  <br>  res@cnLevelSelectionMode = &quot;ExplicitLevels&quot; ; use explicit levels<br>  res@cnLevels             = ispan(-16,4,2) ; set the contour levels<br>  res@cnLineLabelsOn       = True            ; do not use line labels<br>  res@cnFillOn             = True             ; color fill<br>  res@cnLinesOn            = True            ; do not draw contour lines<br>  res@cnFillPalette        = &quot;MPL_RdYlBu&quot;<br>  res@cnInfoLabelOn        = False              ; turn off contour info label<br>  ;res@cnFillDrawOrder  = &quot;Predraw&quot; <br>  res@lbLabelBarOn         = False              ; No single label bar<br><br>  sres                      = True              ; set up a second resource list <br>  sres@cnLevelSelectionMode = &quot;ExplicitLevels&quot;  ; use explicit levels<br>  sres@cnLevels             = ispan(-16,4,2)   ; set the contour levels<br>  sres@gsnAddCyclic          = False<br>  sres@pmTickMarkDisplayMode = &quot;Always&quot;    ; nicer tickmarks<br>  sres@cnInfoLabelOn        = False              ; turn off contour info label<br>  sres@tiXAxisOn = False<br>  sres@tiYAxisOn = False <br>  sres@tiMainOn  = False<br> <br><br>  ;define plots<br>  plot = new( 10, graphic)<br>  <br>  ;make plots<br>  res@gsnLeftString           = &quot;NCEP Wind&quot; <br>  plot(0)   = gsn_csm_contour_map_overlay(wks,uwnd,uwnd,res,sres)   ; create the temperature plot<br>  <br>  res@gsnLeftString           = &quot;ERA-INT Wind&quot; <br>  plot(1)   = gsn_csm_contour_map_overlay(wks,ua,ua,res,sres)<br>  <br>  res@gsnLeftString           = &quot;CCCMA Wind&quot; <br>  plot(2)   = gsn_csm_contour_map_overlay(wks,ua1,ua1,res,sres)<br> <br>  res@gsnLeftString           = &quot;CNRM Wind&quot; <br>  plot(3)   = gsn_csm_contour_map_overlay(wks,ua2,ua2,res,sres)<br>  <br>  res@gsnLeftString           = &quot;ICHEC Wind&quot; <br>  plot(4)   = gsn_csm_contour_map_overlay(wks,ua3,ua3,res,sres)<br>  <br>  res@gsnLeftString           = &quot;IPSL Wind&quot; <br>  plot(5)   = gsn_csm_contour_map_overlay(wks,ua4,ua4,res,sres)<br>  <br>  res@gsnLeftString           = &quot;MIROC Wind&quot; <br>  plot(6)   = gsn_csm_contour_map_overlay(wks,ua5,ua5,res,sres)<br>  <br>  res@gsnLeftString           = &quot;MOHC Wind&quot; <br>  plot(7)   = gsn_csm_contour_map_overlay(wks,ua6,ua6,res,sres)<br>  <br>  res@gsnLeftString           = &quot;MPI Wind&quot; <br>  plot(8)   = gsn_csm_contour_map_overlay(wks,ua7,ua7,res,sres)<br> <br>  res@gsnLeftString           = &quot;NCC-NOR Wind&quot; <br>  plot(9)   = gsn_csm_contour_map_overlay(wks,ua8,ua8,res,sres)<br>  <br>  resP                     = True               ; panel options<br>  resP@gsnMaximize         = True               ; maximize image<br>  resP@gsnPanelLabelBar    = True               ; Add common label bar <br>  resP@txString            = &quot;AEJ July&quot;<br>gsn_panel(wks,plot,(/5,2/),resP)<br>end<br clear="all"></div><br><br><div style="font-family:verdana,sans-serif;font-size:small" class="gmail_default">​var summary;<br>​Variable: uwnd<br>Type: float<br>Total Size: 42048 bytes<br>            10512 values<br>Number of Dimensions: 2<br>Dimensions and sizes:    [lat | 73] x [lon | 144]<br>Coordinates: <br>            lat: [90..-90]<br>            lon: [ 0..357.5]<br>Number Of Attributes: 14<br>  level :     700<br>  time :    1678608<br>  long_name :    Monthly mean u wind<br>  units :    m/s<br>  _FillValue :    -9.96921e+36<br>  missing_value :    -9.96921e+36<br>  precision :    2<br>  least_significant_digit :    1<br>  var_desc :    u-wind<br>  level_desc :    Multiple levels<br>  statistic :    Mean<br>  parent_stat :    Other<br>  dataset :    NCEP Reanalysis Derived Products<br>  actual_range :    ( -68.19482, 124.4 )<br><br>Variable: ua1 (same for the rest)<br>Type: float<br>Total Size: 964004 bytes<br>            241001 values<br>Number of Dimensions: 2<br>Dimensions and sizes:    [lat | 401] x [lon | 601]<br>Coordinates: <br>            lat: [ -15..  25]<br>            lon: [ -30..  30]<br>Number Of Attributes: 8<br>  plev :    70000<br>  time :    15192.5<br>  standard_name :    eastward_wind<br>  long_name :    Eastward Wind<br>  units :    m s-1<br>  _FillValue :    1e+20<br>  missing_value :    1e+20<br>  cell_methods :    time: mean<br><br></div><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><div><font color="#0000ff" face="trebuchet ms, sans-serif">Try not to become a man of success but rather a man of value-Albert Einstein</font></div><div><font color="#0000ff" face="trebuchet ms, sans-serif"><br></font></div><div><font color="#0000ff"><font face="trebuchet ms, sans-serif">University of Cape Coast|</font><span style="font-family:&quot;trebuchet ms&quot;,sans-serif;font-size:12.8px">College of Agriculture and Natural Sciences|</span><span style="font-family:&quot;trebuchet ms&quot;,sans-serif;font-size:12.8px">Department of Physics|</span></font></div><div><font color="#0000ff" face="trebuchet ms, sans-serif">Team Leader|Recycle Up! Ghana|Technology Without Borders|</font></div><div><font color="#0000ff"><font face="trebuchet ms, sans-serif">Other emails: </font><span style="font-family:&quot;trebuchet ms&quot;,sans-serif;font-size:12.8px"><a href="mailto:kwesi.quagraine@ucc.edu.gh" target="_blank">kwesi.quagraine@ucc.edu.gh</a>|</span><span style="font-family:&quot;trebuchet ms&quot;,sans-serif;font-size:12.8px"><a href="mailto:kwesi.quagraine@teog.de" target="_blank">kwesi.quagraine@teog.de</a>|</span></font></div><div><span style="font-family:&quot;trebuchet ms&quot;,sans-serif;font-size:12.8px"><font color="#0000ff">Mobile: +233266173582</font></span></div></div><div><font color="#0000ff" face="trebuchet ms, sans-serif">Skype: quagraine_cwasi</font></div><div><font color="#0000ff" face="trebuchet ms, sans-serif">Twitter: @Pkdilly</font></div><div><br></div></div></div></div></div></div></div></div>
</div>