[gradsusr] csv output yearly value over domain

Rupak Rajbhandari rupak.rajbhandari at gmail.com
Mon Nov 9 05:56:26 EST 2015


What is the error?

-rupak


On Mon, Nov 9, 2015 at 3:53 AM, Ramchandra Karki <rammetro at hotmail.com>
wrote:

> I tried to get the yearly average value of temperature over the certain
> domain and print the output in csv with appending each year data set but
> script shows error. can anyone help me.
>
> 'reinit'
> 'open TMAX20KM.CTL'
> y= 1
> while (y <=39)
>     b=y*12
>     a=12*y-11
>     'define nep=ave(aave(tt, lon=80,lon=88,lat=26,lon=31),t='a',t='b',1)'
>      'd nep'
> 'fprintf nep F:\adpc_gridded_data\output.csv %g 1'
> y=y+1
> endwhile
> 'quit'
>
>
>
>
> *RegardsRamchandra Karki*
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20151109/4cf88969/attachment.html 


More information about the gradsusr mailing list