<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">Dear Grads users, <br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">I have a daily NetCDF file and would like to average several days in Grads using a tloop or a while loop for it: no problems up to here. However, the time increment varies without any pattern. Say, for example, that I need to average a sequence of days like (t=):<br><br>2<br>34<br>15<br>23<br>3<br>46<br>...<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">I have these time values stored in a column in a txt. Is there a way to read this txt in grads so that I can do the math with this list of times and my binary?<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">This is a way I thought of doing it, but any other suggestions are very welcome. They are hundreds of days I need to work with.<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">Thank you, <br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)"><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div><font color="#20124d" face="tahoma, sans-serif">David<div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0);display:inline">​ Marcolino Nielsen​</div></font></div></div></div></div></div></div></div>