<div dir="ltr"><div><div><span id="gmail-result_box" class="gmail-" lang="en"><span class="gmail-">Hello, I would like to
create a new vector to vary in time depending on the variation of the
temperature field that I open in several files:</span></span><br><br></div>I would<br><br>'set z 1'<br>nfiles=124<br>i=1<br>while (i<=nfiles)<br> 'temp(t='i')=tmp2m.'i'(t=1)-273.15'<br> i=i+1<br>endwhile<br><br><span id="gmail-result_box" class="gmail-" lang="en"><span class="gmail-">But I have difficulties because grads does not accept this way, nor this:</span></span><br><br>'set z 1'<br>nfiles=124<br>i=1<br>while (i<=nfiles)<br> 'temp.'i'(t=1)=tmp2m.'i'(t=1)-273.15'<br> i=i+1<br>endwhile<br><br></div>or this:<br><br>set z 1'<br>nfiles=124<br>i=1<br>while (i<=nfiles)<br> 'temp.'i'=tmp2m.'i'(t=1)-273.15'<br> i=i+1<br>endwhile<div><br><span id="gmail-result_box" class="gmail-" lang="en"><span class="gmail-">You can help me to solve this question?<br><br></span></span></div><div><span id="gmail-result_box" class="gmail-" lang="en"><span class="gmail-">Best regards,<br></span></span></div><div><span id="gmail-result_box" class="gmail-" lang="en"><span class="gmail-">Isilda<br></span></span></div></div>