<div dir="ltr">Hi Arnold,<div><br></div><div>Have you tried also setting</div><div><br></div><div>pres@gsnAddCyclic = True</div><div><br></div><div>This resource defaults to true in some of the newest versions of NCL, but defaulted to False for a long time and produces issues like this. gsnAddCyclic basically tells NCL to contour between the first (longitude=0) and last (longitude=191 in your case) the same as it does other adjacent points, despite these points not technically being adjacent in the dataset.</div><div><br></div><div>If there is still an issues after trying that, let us know and be sure to include the list.</div><div><br></div><div><br></div><div>Kyle</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">----------------------------------------<div>Kyle S. Griffin</div><div>Department of Atmospheric and Oceanic Sciences</div><div>University of Wisconsin - Madison</div><div>Room 1421</div><div>1225 W Dayton St, Madison, WI 53706</div><div>Email: <a href="mailto:ksgriffin2@wisc.edu" target="_blank">ksgriffin2@wisc.edu</a></div></div></div></div>
<br><div class="gmail_quote">On Mon, May 25, 2015 at 12:49 AM, <span dir="ltr"><<a href="mailto:Arnold.Sullivan@csiro.au" target="_blank">Arnold.Sullivan@csiro.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-AU" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Hi there,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Somehow I get a gap along the zero degree while plot polar region plus using gsn_coordinates to plot grid lat/lon lines.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Is there any way to fill that gap?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">The code that I use to plot the grid lines:<u></u><u></u></p>
<p class="MsoNormal">;---Data and grid read in:<u></u><u></u></p>
<p class="MsoNormal"> mskFile = addfile("<a href="http://access.n96.newu2.nc" target="_blank">access.n96.newu2.nc</a>","r")<u></u><u></u></p>
<p class="MsoNormal"> vTemp = rm_single_dims(mskFile->NEWVAR2(0,0,:,::2))<u></u><u></u></p>
<p class="MsoNormal"> vMTemp = vTemp <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">;---Call function to attach lat/lon lines.<u></u><u></u></p>
<p class="MsoNormal"> pres = True<u></u><u></u></p>
<p class="MsoNormal"> pres@gsnCoordsAsLines = True ; Default is points<u></u><u></u></p>
<p class="MsoNormal"> pres@gsLineThicknessF = .1<u></u><u></u></p>
<p class="MsoNormal"> pres@gsLineColor = "Gray25"<u></u><u></u></p>
<p class="MsoNormal"> pres@gsnCoordsAttach = True <u></u><u></u></p>
<p class="MsoNormal"> gsn_coordinates(wks,plot1,vMTemp,pres)<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">The input file information:<u></u><u></u></p>
<p class="MsoNormal">;---Ncdump the netcdf file:<u></u><u></u></p>
<p class="MsoNormal">dimensions:<u></u><u></u></p>
<p class="MsoNormal"> LONGITUDE = 192 ;<u></u><u></u></p>
<p class="MsoNormal"> LATITUDE_1 = 144 ;<u></u><u></u></p>
<p class="MsoNormal"> HYBRID_HT = 85 ;<u></u><u></u></p>
<p class="MsoNormal">variables:<u></u><u></u></p>
<p class="MsoNormal"> double LONGITUDE(LONGITUDE) ;<u></u><u></u></p>
<p class="MsoNormal"> LONGITUDE:units = "degrees_east" ;<u></u><u></u></p>
<p class="MsoNormal"> LONGITUDE:point_spacing = "even" ;<u></u><u></u></p>
<p class="MsoNormal"> LONGITUDE:modulo = " " ;<u></u><u></u></p>
<p class="MsoNormal"> LONGITUDE:axis = "X" ;<u></u><u></u></p>
<p class="MsoNormal"> double LATITUDE_1(LATITUDE_1) ;<u></u><u></u></p>
<p class="MsoNormal"> LATITUDE_1:units = "degrees_north" ;<u></u><u></u></p>
<p class="MsoNormal"> LATITUDE_1:point_spacing = "even" ;<u></u><u></u></p>
<p class="MsoNormal"> LATITUDE_1:axis = "Y" ;<u></u><u></u></p>
<p class="MsoNormal"> float NEWVAR2(T, HYBRID_HT, LATITUDE_1, LONGITUDE) ;<u></u><u></u></p>
<p class="MsoNormal"> NEWVAR2:missing_value = -1.e+34f ;<u></u><u></u></p>
<p class="MsoNormal"> NEWVAR2:_FillValue = -1.e+34f ;<u></u><u></u></p>
<p class="MsoNormal"> NEWVAR2:long_name = "U[G=NEW_GRID]" ;<u></u><u></u></p>
<p class="MsoNormal"> NEWVAR2:history = "From access.n96.uv" ;<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Regards,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Arnold<u></u><u></u></p>
</div>
</div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>