<div dir="ltr"><div><div>To my knowledge, no.<br><br></div>I am perplexed as to why my proposed solution did not work. Is there any chance you can let me poke around the data myself to see what's up? If not, can I see the control file and commands you used?<br><br></div>Jeff<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 30, 2015 at 11:58 AM, Matt Bunkers - WFO UNR <span dir="ltr"><<a href="mailto:matthew.bunkers@noaa.gov" target="_blank">matthew.bunkers@noaa.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Setting the UNDEF variable in the ctl file worked for me. Still, I wonder if more than one UNDEF variable can be defined.<span class="HOEnZb"><font color="#888888"><div><br></div><div>-- Matt</div></font></span><div><div class="h5"><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 30, 2015 at 10:40 AM, Matt Bunkers - WFO UNR <span dir="ltr"><<a href="mailto:matthew.bunkers@noaa.gov" target="_blank">matthew.bunkers@noaa.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">The maskout(WC,WC+119.9) option didn't work. I've tried playing with different numbers but still get weird gradients.<br><br>Can I include more than one value for the UNDEF variable in the ctl file? The documentation doesn't suggest so.<div><br></div><div>Thanks,</div><div><br></div><div>-- Matt</div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 30, 2015 at 10:14 AM, Goodson,Ron [Edm] <span dir="ltr"><<a href="mailto:Ron.Goodson@ec.gc.ca" target="_blank">Ron.Goodson@ec.gc.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-CA"><div><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">If this is the only data being analyzed .. then wouldn’t just setting UNDEF in the ctl file be even easier (though I’ll admit the maskout is way more flexible and necessary if you have a bunch of different variables that each use different missing values).<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:10pt;font-family:Tahoma,sans-serif" lang="EN-US">From:</span></b><span style="font-size:10pt;font-family:Tahoma,sans-serif" lang="EN-US"> <a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a> [mailto:<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a>] <b>On Behalf Of </b>Jeff Duda<br><b>Sent:</b> October 30, 2015 9:46 AM<br><b>To:</b> GrADS Users Forum<br><b>Subject:</b> Re: [gradsusr] Setting missing values (or any value) to undefined<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">maskout(WC,WC+119.9)<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Fri, Oct 30, 2015 at 10:06 AM, Matt Bunkers - WFO UNR <<a href="mailto:matthew.bunkers@noaa.gov" target="_blank">matthew.bunkers@noaa.gov</a>> wrote:<u></u><u></u></p><div><p class="MsoNormal">Hi,<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">I have hourly wind chill (WC) grids for which I want to find the minimum WC. The problem I have is that some of the areas of the grids are missing (set to -120). When I compute the minimum WC and then display the result (as either image or contour) I get huge gradients between the real data and the missing data. What I would like to do is set my missing data to undefined (so they don't plot). I've tried that with the const function but that doesn't appear to work. Is there another function that would allow me to set a given value (-120 in this case) of my grid to undefined? If it is set to undefined then when I plot the grid I shouldn't see those horrendous gradients.<u></u><u></u></p></div><div><p class="MsoNormal"><br>Thanks,<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">-- Matt<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div></div><p class="MsoNormal" style="margin-bottom:12pt"><br>_______________________________________________<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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><u></u><u></u></p></div><p class="MsoNormal"><br><br clear="all"><br>-- <u></u><u></u></p><div><p class="MsoNormal">Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms<u></u><u></u></p></div></div></div></div><br>_______________________________________________<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></div></div>
</blockquote></div><br></div></div></div></div></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"><br>-- <br><div class="gmail_signature">Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms<br></div>
</div>