Hi ncl-talkers,
I'm trying to calculate an annual and seasonal means of a variable, then
write this new variable to a new netcdf file, but my script is just not
working. Anyone have any advice?
Thanks, M
all_files = systemfunc("ls /model-out.199*")
fall = addfiles(all_files1,"r") ; all the files are read into the temp file
'fall'
ListSetType(fall,"cat")
tref_all = fall[:]->TREF
tref_annmean = month_to_annual(tref_all,1)
system("/bin/rm -f tref_annmean.nc","r")
ncdf = addfile("tref_annmean.nc","c")
ncdf->tref_annmean <-- how do I write this line?
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Feb 15 10:15:20 2011
This archive was generated by hypermail 2.1.8 : Thu Feb 17 2011 - 22:00:17 MST