<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Hi Rashed,</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">That worked - thank you very much!</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">best regards,</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Tabish</div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><font face="trebuchet ms, sans-serif" color="#666666">--------------------------------------------------------------------------------------<br><span style="background-color:rgb(255,255,255)">Dr Tabish Ansari</span></font></div><div><font face="trebuchet ms, sans-serif" color="#666666">Research Associate </font></div><div><font face="trebuchet ms, sans-serif" color="#666666">Air Quality Modelling Group</font></div><div><span style="background-color:rgb(255,255,255)"><span style="font-weight:normal"><font face="trebuchet ms, sans-serif" color="#666666">Research Institute for Sustainability (RIFS) - Helmholtz Centre Potsdam </font></span></span></div><div><font face="trebuchet ms, sans-serif" color="#666666">Potsdam, Germany</font></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 24 Jul 2023 at 21:05, Rashed Mahmood <<a href="mailto:rashidcomsis@gmail.com">rashidcomsis@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Tabish,</div><div><br></div><div>Turning on this resource should work: <i><font color="#0000ff">res@gsnAddCyclic = False => True </font></i></div><div><br></div><div><br></div><div>Cheers,</div><div>Rashed<br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 24, 2023 at 8:11 PM Tabish Ansari via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">Hi</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">I have a CESM global model output where the grid is not centered at 0 degrees East, i.e., it doesn't span from (-90 to +90 deg) latitude. Instead it spands 0-180 deg latitudes. When I use the gsn_csm_contour_map function to create a global contour map, it automatically transforms the grid to one that is centered at 0 degrees meridian - which is good, however, it shows a strip of missing values (no colors in the contour plot) on the map along the meridian. I think the model output has no such missing data over that region. </div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">I have attached the plot.</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">Here's my script:</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><i><font color="#0000ff">begin<br><br>DIR = "/work/users/tan/Hannah-HTAP2data/"<br><br>f1 = addfile("/work/users/tan/Hannah-HTAP2data/<a href="http://NOX_HTAP.cam.h0.2010.nc" target="_blank">NOX_HTAP.cam.h0.2010.nc</a>","r") ; BASELINE NOX-TAGGED RUN<br> o3 = f1->O3<br> o3 = 10^9 * o3<br> o3@units = "ppb"<br> o3annual = o3(0,:,:) ; initializing for coordinate arrays<br> o3annual = dim_avg_n(o3, 0)<br><br></font></i></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><i><font color="#0000ff">;;;;;GRAPHICAL SETTINGS;;;;;<br> wks = gsn_open_wks ("png","SurfaceO3_2010") ; send graphics to png<br> res = True<br> res@gsnMaximize = True ; Maximize plot in frame<br> res@cnFillOn = True ; turn on color<br> res@cnLinesOn = False ; no contour lines<br> res@cnLineLabelsOn = False ; turn off contour lines<br> res@gsnAddCyclic = False<br> res@mpFillOn = True ; map fill<br> res@cnFillMode = "RasterFill"<br> res@mpGeophysicalLineThicknessF = 1.0<br> res@mpDataBaseVersion = "MediumRes"<br> res@mpOutlineBoundarySets = "Geophysical"<br> res@cnLevelSelectionMode = "ExplicitLevels" ; set explicit contour levels<br> o3levels = ispan(5,65,5)<br> res@cnLevels = o3levels<br> res@cnFillPalette = "BlAqGrYeOrReVi200" ; set color map<br> res@tmYLLabelFontHeightF = 0.012<br> res@tiMainString = "Annual avg surface O3 for 2010"<br><br> plot = gsn_csm_contour_map(wks,o3annual,res) ; create plot<br><br>end<br></font></i></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">Please let me know if this is a known issue and can be avoided/corrected.</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">Thanks</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">Tabish</div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><font face="trebuchet ms, sans-serif" color="#666666">--------------------------------------------------------------------------------------<br><span style="background-color:rgb(255,255,255)">Dr Tabish Ansari</span></font></div><div><font face="trebuchet ms, sans-serif" color="#666666">Research Associate </font></div><div><font face="trebuchet ms, sans-serif" color="#666666">Air Quality Modelling Group</font></div><div><span style="background-color:rgb(255,255,255)"><span style="font-weight:normal"><font face="trebuchet ms, sans-serif" color="#666666">Research Institute for Sustainability (RIFS) - Helmholtz Centre Potsdam </font></span></span></div><div><font face="trebuchet ms, sans-serif" color="#666666">Potsdam, Germany</font></div></div></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote></div>
</blockquote></div>