On Mon, Jun 23, 2008 at 11:24 AM, Mike Johnson <<a href="mailto:Mike.W.Johnson@noaa.gov">Mike.W.Johnson@noaa.gov</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Arlindo - I hadn't thought about UNDEF...I checked that with "set gxout stat" as you suggested and discovered that undefined data were tagged with 1e+36, after putting that in my ctl file - it worked.<br>
<br>
I had assumed that there was no undefined data...I'm still not sure why there would be in this data set. Anyway...the -9999.0 that was in there previously, I just made up to satisfy GrADS complaint to list it.<br>
</blockquote><div><br><br> It is possible to create UNDEFs at the boundaries when interpolating to a regional domain. A common trick is to enlarge your domain by a gridpoint at the boundaries (or 2 if using higher order interpolation), do the interpolation, and then return your dimension environment to the desired domain before fwriting the data to a file.<br>
</div></div><br> Arlindo<br clear="all"><br>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a>