<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Use maskout(). <br>
If the variable in FILE1 is SD, and the variable in FILE2 is AVG, and
assuming SD and AVG are on the same lat-lon grid, then do something
like:<br>
<br>
d maskout(AVG.2, 29.9999-SD.1)<br>
<br>
AVG will then only be plotted when 29.9999-SD.1 >= 0., which is when
SD < 30<br>
[You might have to do something like "d maskout(AVG.2(t=1,z=1),
29.9999-SD.1(t=1,z=1)) if the time and/or level coordinates don't match
for FILE1 and FILE2.]<br>
<br>
MJ<br>
<br>
<br>
<br>
Sachin Ghude wrote:
<blockquote cite="mid20070606050728.M39224@tropmet.res.in" type="cite">
<meta content="text/html; charset=iso-8859-1"
http-equiv="Content-Type">
<meta content="OPENWEBMAIL" name="GENERATOR">
<font size="2">
<p><font size="2">Dear all,</font></p>
<p><font size="2">I have two files, FILE1.nc and FILE2.nc. </font></p>
<p><font size="2">FILE1.nc has data which is a standard deviation
(SD) of the averages in FILE2.nc. Data in FILE1 ranges from 0 - 60. </font></p>
<p><font size="2">I want to plot data in FILE2.nc only for those
grids where the values in FILE1.nc is less than 30. ( Essentially, I
want to plot averages for the SD less than 30).</font></p>
<p><font size="2">Would somebody please advice me How to do this in
GRADS. <br>
<br>
</font></p>
<p align="left"><font size="2">Sachin D Ghude </font></p>
</font>
</blockquote>
<br>
</body>
</html>