You should index the data_real array, e.g<br>  data_real(I,J) = 0.0<br><br>saji<br><br><div class="gmail_quote">On Wed, Oct 6, 2010 at 2:11 AM, Andre Pattantyus <span dir="ltr">&lt;<a href="mailto:apattantyus2008@my.fit.edu">apattantyus2008@my.fit.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hello,<br><br>I have been trying to remove snow cover from NAM-218 input data for a high resolution run. The section of code I am using is shown below. At first I had a number of these loops in the code and I had the same result - it changes the value of SNOW to 0 for the entire domain. I don&#39;t understand how this could be happening since I am specifying it to change only in I,J region. Can someone shed light on this problem? Thanks in advance.<br clear="all">

<br><br>if (var == &#39;SNOW&#39;) then<br>  do I  = 84, 98<br>  do J = 212, 219<br> data_real = data_real*0.<br>enddo<br>enddo<br>endif<br><font color="#888888"><br><br>-- <br>Andre Pattantyus, Graduate Student Research Assistant<br>
Marine and Environmental Systems, Florida Institute of Technology<br>
150 W. University Blvd, Melbourne, FL 32901<br><br>Phone: (321) 674-8330 | Fax: (321) 674-7212 | Email: <a href="mailto:apattantyus2008@fit.edu" target="_blank">apattantyus2008@fit.edu</a><br>
</font><br>_______________________________________________<br>
Wrf-users mailing list<br>
<a href="mailto:Wrf-users@ucar.edu">Wrf-users@ucar.edu</a><br>
<a href="http://mailman.ucar.edu/mailman/listinfo/wrf-users" target="_blank">http://mailman.ucar.edu/mailman/listinfo/wrf-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><br>Saji N Hameed,<br>ARC-ENV, Center for Advanced Information Science and Technology,<br>University of Aizu, Tsuruga, Ikki-machi,<br>Aizuwakamatsu-shi, Fukushima 965-8580,<br>
Japan<br>        <br>Tel: +81242 37-2736<br> email: <a href="mailto:saji@u-aizu.ac.jp">saji@u-aizu.ac.jp</a><br> url: <a href="http://www.u-aizu.ac.jp">http://www.u-aizu.ac.jp</a><br> bib: <a href="http://www.researcherid.com/rid/B-9188-2009">http://www.researcherid.com/rid/B-9188-2009</a><br>