<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). When I aave my data, I like to maskout the water so that I’m taking aave over land only. <BR>
<BR>
The water values in my file are 1, so I use the following,<BR>
‘maskout(input.1,land.2(t=1)<B>-1</B>)’.<BR>
<BR>
The ‘land-1’ portion sets all water values to zero.<BR>
<BR>
Hope this helps.<BR>
Miles<BR>
<BR>
On 10/19/05 9:55 AM, "Jean Pierre Arabonis" <arabonis@EGS.UCT.AC.ZA> wrote:<BR>
<BR>
</FONT><BLOCKQUOTE><FONT FACE="Verdana">Hi all <BR>
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>
How can I create a mask for the bad data, or a range of data, and make it say 0. I need somthing like:<BR>
</FONT><FONT FACE="Monaco"><TT>maskout(<I>expr,expr>1</I>)<BR>
</TT></FONT><FONT FACE="Verdana"> <BR>
Thanks<BR>
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>