<div>Hi Dear all Grads Usr</div>
<div>I want to change data in some Grids and save a new netCDF file, Please any one help me</div>
<div>I have use final version of GrADS in Win7</div>
<div> </div>
<div>I try to do this as below, </div>
<div> </div>
<div>x = 1</div>
<div>while x <20</div>
<div>'set x 'x</div>
<div>y = 1</div>
<div>while y <20</div>
<div>'set y 'y</div>
<div>'d const(variable, new value)' => for example new value = 25</div>
<div>y = y +1</div>
<div>endwhile</div>
<div>x = x +1 </div>
<div>endwhile</div>
<div> </div>
<div>'set x 1 20'</div>
<div>'set y 1 20'</div>
<div>'define XX=variable'</div>
<div>'set sdfwrite Test.nc'</div>
<div>'sdfwrite XX'</div>
<div> </div>
<div>But Const() function change all data in all Grids.</div>
<div>Please guide me</div>
<div> </div>
<div>Thanks </div>
<div> </div>
<div> </div>
<div>H.Lotfi</div>
<div> </div>
<div> </div>
<div> </div>