<div dir="ltr"><div>Use const(precip,0.0,-u) to set missing data to a value of 0.0.<br><br></div><div>The const and maskout functions are very useful when thresholding or working with undefined data points.<br></div><div><br></div>Jeff Duda<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 20, 2015 at 11:37 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">Hi,<div><br></div><div>I am adding observed precipitation from 3 consecutive days and on occasion there will be undefined areas in small portions of my grid files. Instead of having nothing (or blank spaces) plotted when I sum the three files, I would like to change the undefined values to zero (basically assuming no precip) and then add the files. I used the "set undef 0.0" command but I still don't get the data to plot (i.e., I have blank/missing areas). Is there a way I can get the undef to be 0.0 so they will not plot as blank spaces and instead sum with the regular defined values?</div><div><br></div><div>Thanks,</div><div><br></div><div>-- Matt</div><div><br></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" 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>