<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000099'><div><font color="#000000">Hi,</font></div><div><font color="#000000"><br></font></div><div><font color="#000000">I am trying to modify variable(albedo) in ncfile over some gridpoints in the given domain.The time for completing this task is taking 7days.I still need to modify two more variables.Is there any better way to do this so that this task can complete in lesser time?</font></div><div><br></div><div><font color="#000000">The code I wrote is:</font><br></div><div>------------------------------------------------------------------</div><div>f=addfile("modlis_input.d01.nc","w")<br>mn=asciiread("latlonmod.txt",(/47425,2/),"integer")<br>do i=0,47424<br>f->ALBEDO(0,mn(i,0),mn(i,1))=0.1200218<br>f->ALBEDO(1,mn(i,0),mn(i,1))=0.12<br>f->ALBEDO(2,mn(i,0),mn(i,1))=0.1203444<br>f->ALBEDO(3,mn(i,0),mn(i,1))=0.1250593<br>f->ALBEDO(4,mn(i,0),mn(i,1))=0.1295258<br>f->ALBEDO(5,mn(i,0),mn(i,1))=0.139174<br>f->ALBEDO(6,mn(i,0),mn(i,1))=0.1493438<br>f->ALBEDO(7,mn(i,0),mn(i,1))=0.1549511<br>f->ALBEDO(8,mn(i,0),mn(i,1))=0.143491<br>f->ALBEDO(9,mn(i,0),mn(i,1))=0.1334304<br>f->ALBEDO(10,mn(i,0),mn(i,1))=0.1294655<br>f->ALBEDO(11,mn(i,0),mn(i,1))=0.1244921<br>end do</div><div>-----------------------------------------------------------------------------</div><div><br></div><div><font color="#000000">Thanks,</font></div><div><font color="#000000">Pavani</font><br></div></div></body></html>