[gradsusr] (no subject)
Sridhara Nayak
sridharanayakiitkgp at gmail.com
Sat Oct 18 02:26:35 EDT 2014
On Fri, Oct 17, 2014 at 11:41 PM, Gargi Akhoury <gargiakhoury at bitmesra.ac.in
> wrote:
> Hello,
> Below is the program for seasonal average, but it is giving error,
> need help regarding this, it is not working
>
>
> 'sdfopen 't1000.nc'' %open netcdf file
>
> *'set lat -90 90' *
>
> *'set lon 0 360' Remove these three lines*
> *'set t 1 780'*
>
>
> tt=6 % starting time from June month
> while(tt<=780)
> 'set t 'tt
> 'define june=aave(t1000-273.15,lon=0,lon=360,lat=-2.5,lat=2.5)' %
> displaying June data of required latitude
>
> 'd june'
> tt=tt+1
> 'set t 'tt
> 'define jul=aave(t1000-273.15,lon=0,lon=360,lat=-2.5,lat=2.5)'
> 'd jul'
> tt=tt+1
> 'set t 'tt
> 'define aug=aave(t1000-273.15,lon=0,lon=360,lat=-2.5,lat=2.5)'
> 'd aug'
> tt=tt+1
> 'set t 'tt
> 'define sep=aave(t1000-273.15,lon=0,lon=360,lat=-2.5,lat=2.5)'
> 'd sep'
> 'define eq=(june+jul+aug+sep)/4.0' % average of four months
> 'd eq'
> tt=tt+9
>
> endwhile
>
>
> Regards
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
This program may write all the June, July, Aug, Sep, and JJAS average value
in the grads window in text format from the year 1 to (780/12)th year....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20141018/d38809d4/attachment.html
More information about the gradsusr
mailing list