<DIV id=RTEContent>Hi all GrADS users,<BR></DIV> <DIV>I am interested to control the various values of one 2-D variable (that is the values in one matrix), for example the temperature, and to change of some.</DIV> <DIV> </DIV> <DIV>For example, I must read the temperature (variable T) and to place equal to 0 all values < 300.</DIV> <DIV><BR>I know to carry out one scan of the T matrix with the following commands:</DIV> <DIV> </DIV> <DIV>i=1<BR>while(i<=imax)<BR> 'set x ' i {latitude}<BR> j=1<BR> while(j<=jmax)<BR> 'set y ' j {longitude}<BR> ....</DIV> <DIV> </DIV> <DIV> </DIV> <DIV>I, eventually, know to change the value of T:</DIV> <DIV> </DIV> <DIV>'set defval T 'i' 'j' 300'</DIV> <DIV>...</DIV> <DIV><BR>But as I make to contro
l the
single value? (the T(i,j) value)</DIV> <DIV><BR>I can read the single value on the computer's screen through the command:</DIV> <DIV> </DIV> <DIV>'query defval T 'i' 'j</DIV> <DIV>...</DIV> <DIV> </DIV> <DIV>but I do not know to write a script that controls the single value of T.</DIV> <DIV> </DIV> <DIV>If you have any suggest thanks.<BR></DIV> <DIV> </DIV> <DIV>Best regards from Mario</DIV><p>
<hr size=1><font face="Arial" size="2"><a href="http://us.rd.yahoo.com/mail_it/taglines/*http://it.mail.yahoo.com"><b>Yahoo! Mail</b></a>: gratis 1GB per i messaggi, antispam, antivirus, POP3</font>