<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi, Chris —&nbsp;<div><br></div><div>Here’s how I think the numbers could be drawn in the sample from WeatherBell.&nbsp;</div><div>1. You have a particular grid point in mind, with a specific lat/lon&nbsp;</div><div>2. Set lat/lon to a range of values and draw the spatially varying graphic with shaded contours to set up the scaling.</div><div>3. Use ‘q w2xy’ to get the position of the lat/lon on the page, GrADS will return something like "X = 2.72222 &nbsp;Y = 5.58333”. Parse these with substr() to retain the x,y positions.</div><div><br></div><div>4. Fix lat/lon to the desired coordinates, display the variable, which should just print some text to the screen like “Result value = 0.33”</div><div>5. Parse that result to extract the value: val=subwrd(result,4)</div><div>6. use ‘draw string’ with the x,y positions and the data value to place the number on top of the shaded contours.&nbsp;</div><div><br></div><div>If the numbers are based on station data, then it’s a different ball of wax.&nbsp;</div><div>—Jennifer</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br><div><div>On Sep 25, 2015, at 9:59 AM, Christopher Gilroy &lt;<a href="mailto:chris.gilroy@gmail.com">chris.gilroy@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">I do want it to draw snowfall amounts, but like in the two images, not "griddy". If you look at,&nbsp;<a href="http://blog.chron.com/weather/wp-content/blogs.dir/2579/files/2014/01/gfs_6hr_snow_acc_se_19.png">http://blog.chron.com/weather/wp-content/blogs.dir/2579/files/2014/01/gfs_6hr_snow_acc_se_19.png</a> that doesn't appear to be drawing those numbers based on a grid at all. They are all scattered about on the map with no real "grid" structure to them. The only way I know how to "control" the frequency (perhaps "stepping" might be a better word?) of the drawing of values would really be to maskout coupled with re-gridding so it doesn't put a number on every possible area that weasdsfc has a value for is. If that makes sense?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 25, 2015 at 9:53 AM, Stephen McMillan <span dir="ltr">&lt;<a href="mailto:smcmillan@planalytics.com" target="_blank">smcmillan@planalytics.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello Chris,<div><br></div><div>If you don't want to display all the grid values, then you can use 'draw string...' using the coordinates of whatever stations or locations you want displayed on top of the shaded contours.&nbsp; See&nbsp;<a href="http://www.iges.org/grads/gadoc/gradcomddrawstring.html" target="_blank">http://www.iges.org/grads/gadoc/gradcomddrawstring.html</a></div><div><br></div><div>Stephen McMillan</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Fri, Sep 25, 2015 at 8:55 AM, Christopher Gilroy <span dir="ltr">&lt;<a href="mailto:chris.gilroy@gmail.com" target="_blank">chris.gilroy@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><span style="font-size:12.8px">I'm trying to plot something like this:&nbsp;</span><a href="http://i60.tinypic.com/2v9voe0.jpg" style="font-size:12.8px" target="_blank">http://i60.tinypic.com/2v9voe0.jpg</a><span style="font-size:12.8px">&nbsp;(WXBell has the same basic setup,&nbsp;</span><a href="http://blog.chron.com/weather/wp-content/blogs.dir/2579/files/2014/01/gfs_6hr_snow_acc_se_19.png" style="font-size:12.8px" target="_blank">http://blog.chron.com/weather/wp-content/blogs.dir/2579/files/2014/01/gfs_6hr_snow_acc_se_19.png</a><span style="font-size:12.8px">) with the inch's plotting on-top of the shaded area but the only way I know how to display "values" like that is with gxout grid, which then makes the numbers plot in grids (obviously) and unless I'm missing something with options I don't see a way to make it output as "loose" as theirs are, instead of literally in a "grid" (square box) format.</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I'm currently simply doing:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>'set gxout grid'</div><div>'set gridln off'</div><div>'set dignum 1'</div><div>'set digsiz 0.05'<br></div><div>'d re(maskout(weasdsfc, weasdsfc-3), 0.25)'<br></div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Which, you can image it will output tons of numbers all over, making it completely illegible. Any clue on how to do something like the above two images?</div><span><font color="#888888"><div><br></div>-- <br><div>-Chris A. Gilroy</div>
</font></span></div>
<br></div></div>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">-Chris A. Gilroy</div>
</div>
_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>http://gradsusr.org/mailman/listinfo/gradsusr<br></blockquote></div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams<br>Center for Ocean-Land-Atmosphere Studies (COLA)<br>111 Research Hall, Mail Stop 2B3<br>George Mason University<br>4400 University Drive<br>Fairfax, VA 22030&nbsp;<br><br></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span><br class="Apple-interchange-newline">
</div>
<br></div></body></html>