<div dir="ltr">Ooops - wtest.ncl attached!<div><br></div><div>Another way to state my problem is by looking at the sample code under gsn_add_polygon</div><div><br></div><div>The quantities dum1, dum2, and dum3 are defined (left of equals sign) but I don't see them again in the code, so how are they used???</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jul 31, 2018 at 2:06 PM Alison Bridger <<a href="mailto:alison.bridger@sjsu.edu">alison.bridger@sjsu.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Although my NCL skills are gradually improving, I am still stumped by simple tasks!<div><br></div><div>The attached code reads in WRF output, extracts rainfall, sums it over the run, and contour plots the total each hour. I got it from somebody else here!</div><div><br></div><div>I want to superimpose ("overplot") small columns at a few locations showing obs versus WRF rain totals. So imagine - say - small red and blue columns side-by-side somewhere on this plot (e.g., SFO) showing obs and WRF rain totals.</div><div><br></div><div>I have spent 2 hours (!) trying to morph the sample code in polyg_4.ncl (from the NCL pages) into my code (wtest.ncl, attached), but I get nothing visual and no useful diagnostics.</div><div><br></div><div>I fell this is related to things like "frame" and "draw" and "plot" and so forth, but no amount of trying seems to make me understand how these relate to each other!</div><div><br></div><div>The added code starts near the end with "xpts = ...".</div><div><br></div><div>Thanks for any pointers!</div><div><br></div><div>Alison</div><div><br></div><div>PS can supply wrfout file if needed<br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_-3337553799981804315gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><pre><font face="comic sans ms, sans-serif"> Alison F.C. Bridger<br> Professor & Chair<br><br> Department of Meteorology and Climate Science<br><br> San Jose State University tel 408.924.5206<br> One Washington Square fax 408.924.5191<br> San Jose, CA 95192-0104<br><br> email: <a>Alison.Bridger@sjsu.edu</a></font></pre><pre><font face="comic sans ms, sans-serif"> <b>Global CO2 levels...410 ppm and still rising</b></font></pre><pre><font face="comic sans ms, sans-serif"><br> <a href="http://www.met.sjsu.edu" target="_blank">www.sjsu.edu/meteorology</a><br> </font><br></pre></div></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><pre><font face="comic sans ms, sans-serif"> Alison F.C. Bridger<br> Professor & Chair<br><br> Department of Meteorology and Climate Science<br><br> San Jose State University tel 408.924.5206<br> One Washington Square fax 408.924.5191<br> San Jose, CA 95192-0104<br><br> email: <a>Alison.Bridger@sjsu.edu</a></font></pre><pre><font face="comic sans ms, sans-serif"> <b>Global CO2 levels...410 ppm and still rising</b></font></pre><pre><font face="comic sans ms, sans-serif"><br> <a href="http://www.met.sjsu.edu" target="_blank">www.sjsu.edu/meteorology</a><br> </font><br></pre></div></div></div></div></div></div>