<div dir="ltr"><div>Hi Grads users,</div><div><br></div><div>i have this small scripts to transform every 12 hours radiation into daily data by summing. but my new variable "dayrad" saves just the last iteration.</div><div>my request is how to save all data calculated in dayrad variable into a time-dependent variable.</div><div><br></div><div>Thanks for help.</div><div><br></div><div><br></div><div><div>'open rad.ctl'</div><div>tt=1</div><div>while( tt <= 10) </div><div><br></div><div>'set t 'tt</div><div><br></div><div>'define dayrad= 2.78e-4*sum(SSRsfc, t='tt',t='tt+2')'</div><div><br></div><div>'set gxout print'</div><div><br></div><div>'d dayrad'</div><div><br></div><div>tt=tt+3</div><div>endwhile</div></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Rabah <br></div><br></div></div>
</div>