Dear all,<br><div class="gmail_quote"><br>I would like to sum two variable within one netcdf file for each time t=1 to t=366.<br>I have one netcdf file (<a href="http://file.nc" target="_blank">file.nc</a>) which contains two variables a and b from t=1 to t=366<br>
What I am trying to do is to sum each value per time, I mean <br>sum a,b for t=1<br>sum a,b for t=2<br>...<br>sum a,b for t=366<br><br>I tried this command:<br><br>define c=sum(a+b, t=1, t=366)<br><br>but didn't give me what I needed.<br>
What I expect to obtain is that the variable c will contain the SUM of the two variables a and b from each t=1 to t=366<br clear="all">I hope you get my problem,<br><br>Best Regards,<br><br>Serge<br></div>