Hi
I want to do annual mean from monthly netcdf files. I did the following
var = 0.
do n = 0, 11
fname = path + name(n)
in = addfile(fname,"r")
var0 = in->AOC(0,:,:)
var = var + var0
end do
var = var/12
the error info is "fatal:Number of dimensions on right hand side do not match number of dimension in left hand side" in line 23 (i.e. var = var + var0).
how to resolve the problem? thanks,
Xiaoyan
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Nov 18 12:07:46 2011