var(time,y,x) ==> dimension numbers (0,1,2)
arithmetic sum
v12 = dim_sum_n_Wrap(var,(/1,2/)) ; v12(time)
http://www.ncl.ucar.edu/Document/Functions/Contributed/dim_sum_n_Wrap.shtml
or
http://www.ncl.ucar.edu/Document/Functions/Built-in/dim_sum_n.shtml
--- On 4/1/13 7:40 AM, Leif Truelsen wrote: > Dear ncl enthusiasts, > > Can anyone point me in the correct direction in order to calculate the sum > of all grid cells in a map? I have a variable with dimensions time,y,x and > I would like to calculate the sum of all x,y cells at a specific time > interval. I can't quite figure out which ncl function or series of > functions I need to accomplish this task. Any help would be much > appreciated. > > Kindest regards, > Leif > > > > _______________________________________________ > ncl-talk mailing list > List instructions, subscriber options, unsubscribe: > http://mailman.ucar.edu/mailman/listinfo/ncl-talk > _______________________________________________ ncl-talk mailing list List instructions, subscriber options, unsubscribe: http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Mon Apr 1 08:12:06 2013
This archive was generated by hypermail 2.1.8 : Tue Apr 02 2013 - 21:23:48 MDT