<div dir="ltr">Hi:<div><br></div><div>What is the resource warning?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 23, 2019 at 6:29 AM Zach Rieck <<a href="mailto:zrr817@gmail.com">zrr817@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">To Whom it May Concern-<div><br></div><div>I've created a panel of plots and want the x-axis to simply be months. These months need to be non-sequential in number order since I need November, December, January, February, and March in that order. It's ok if these months are tied to a year if necessary. The dates I am using are in yyyymmdd format, and I have converted them to year fractions as suggested in the online documentation. When I try using resources to convert this to month strings though I get a resource warning.</div><div><br></div><div>I'll attach my whole script, but I've pasted my plotting section below to keep things simple since I'm guessing it's just an issue I can fix with some syntax changes.</div><div><br></div><div>Thanks for the help!</div><div><br></div><div> wks = gsn_open_wks("pdf", "Pine_Creek")<br> plots = new(12,graphic)<br> res = True<br> res@gsnDraw = False ; don't draw<br> res@gsnFrame = False ; don't advance frame<br> res@cnInfoLabelOn = False ; turn off cn info label<br> colors = (/"blue","red"/)<br> res@tmXBMode = "Explicit"<br> res@tmXBValues = (/"Nov","Dec","Jan","Feb","Mar"/)<br> res@tmXBLabels = res@tmXBValues<br> res@xyLineColors = colors<br> res@tiXAxis = "Year"<br> res@tiYAxis = "LPE (mm)"<br><br> plots(0) = gsn_csm_xy(wks,yfrac,sums1,res)<br> plots(1) = gsn_csm_xy(wks,yfrac,sums2,res)<br> plots(2) = gsn_csm_xy(wks,yfrac,sums3,res)<br> plots(3) = gsn_csm_xy(wks,yfrac,sums4,res)<br> plots(4) = gsn_csm_xy(wks,yfrac,sums5,res)<br> plots(5) = gsn_csm_xy(wks,yfrac,sums6,res)<br> plots(6) = gsn_csm_xy(wks,yfrac,sums7,res)<br> plots(7) = gsn_csm_xy(wks,yfrac,sums8,res)<br> plots(8) = gsn_csm_xy(wks,yfrac,sums9,res)<br> plots(9) = gsn_csm_xy(wks,yfrac,sums10,res)<br> plots(10) = gsn_csm_xy(wks,yfrac,sums11,res)<br> plots(11) = gsn_csm_xy(wks,yfrac,sums12,res)<br><br> resP = True ; modify the panel plot<br> resP@gsnPanelMainString = "Pine Creek 38.88 N 112.25W elev 8790 ft" ; set main title<br> gsn_panel(wks,plots,(/3,4/),resP) ; now draw as one plot</div><div><br><div><div dir="ltr" class="gmail-m_4671834665951761956gmail_signature"><div dir="ltr">-Zach Rieck<div><a href="mailto:zrr817@gmail.com" target="_blank">zrr817@gmail.com</a></div><div>(513)-502-5652</div></div></div></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior Associate Scientist, Lecturer,</div><div><div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)"></div><span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>C.E.O, Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>Jerusalem, Israel<br>Local: 02 930 9525<br>Cell: 054 7 231 170<br>Int-IS: x972 2 930 9525<br><br></div></div></div></div></div>