<HTML>
<HEAD>
<TITLE>Re: masking</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana">Jean Pierre,<BR>
<BR>
I have a land-sea mask (land.dat) file that outputs from my model for one specific time (t=1). &nbsp;When I aave my data, I like to maskout the water so that I&#8217;m taking aave over land only. &nbsp;<BR>
<BR>
The water values in my file are 1, so I use the following,<BR>
&nbsp;&#8216;maskout(input.1,land.2(t=1)<B>-1</B>)&#8217;.<BR>
<BR>
The &#8216;land-1&#8217; portion sets all water values to zero.<BR>
<BR>
Hope this helps.<BR>
Miles<BR>
<BR>
On 10/19/05 9:55 AM, &quot;Jean Pierre Arabonis&quot; &lt;arabonis@EGS.UCT.AC.ZA&gt; wrote:<BR>
<BR>
</FONT><BLOCKQUOTE><FONT FACE="Verdana">Hi all <BR>
&nbsp;&nbsp;&nbsp;&nbsp;Maybe someone can shed some light on this one, I have some sea ice data that has valid values of 0 to 1 and some values greater than 1 that indicate bad data.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;How can I create a mask for the bad data, or a range of data, &nbsp;and make it say 0. I need somthing like:<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT><FONT FACE="Monaco"><TT>maskout(<I>expr,expr&gt;1</I>)<BR>
</TT></FONT><FONT FACE="Verdana"> &nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Thanks<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Jean Pierre<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
--<BR>
Jean Pierre Arabonis<BR>
arabonis@egs.uct.ac.za<BR>
Tel 021 780 1021 cell 084 401 1365<BR>
This email is 100% Microsoft Free<BR>
<BR>
</FONT></BLOCKQUOTE><FONT FACE="Verdana"><BR>
<BR>
-- <BR>
Miles Woodard <BR>
Graduate Student <BR>
Climate Sciences <BR>
Scripps Institution of Oceanography <BR>
University of California, San Diego <BR>
9500 Gilman Drive, Dept. 0224 <BR>
La Jolla, CA 92093-0224 <BR>
(858) 822-5831 <BR>
NH 125 <BR>
<BR>
</FONT>
</BODY>
</HTML>