variable average

From: Chao Luo <cluo_at_nyahnyahspammersnyahnyah>
Date: Tue, 22 Nov 2005 10:38:21 -0800

Hi,

I try to read a couple of files and average the variable. Following is
code I used, but it dosn't work.

time_nbr=10
lat_nbr=64
lon_nbr=128
vwc_sfc_tot = new (/time_nbr,lat_nbr,lon_nbr/)
do nm=1,10
fl_in=addfile("June$nm_soil_moisture.hdf","r")
vwc_sfc_$nm=fl_in->mv
vwc_sfc_tot = vwc_sfc_$nm
end do
vwc_sfc_avg =clmMonTLL(vwc_sfc_tot)

Thanks much for any helps!

Chao

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Nov 22 2005 - 11:38:21 MST

This archive was generated by hypermail 2.2.0 : Wed Nov 23 2005 - 08:30:24 MST