[gradsusr] csv output yearly value over domain
Ramchandra Karki
rammetro at hotmail.com
Sun Nov 8 17:08:38 EST 2015
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= 1while (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+1endwhile'quit'
Regards
Ramchandra Karki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20151109/82b68064/attachment.html
More information about the gradsusr
mailing list