[1]
Use addfiles with "join"
See Example 2
http://www.ncl.ucar.edu/Document/Functions/Built-in/addfiles.shtml
[2]
If you have: x(column, levtot) on each file and you have (say) 4 files
you will have
[ncl_join | 4] x [column | ?] x [levtot | ?]
[3]
avex = dim_avg_Wrap(x(column|:,levtot|:,ncl_join|:)) ; v5.1.0
or, better, with 5.1.1
avex = dim_avg_n_Wrap(x, 0)
In eother case,
avex(column,levtot)
Possibly, you may also uecatse the netCDF operators [ncecat]
Good luck
Lei wrote:
> Hello,
> I am working on simulation of the impact of soil moisture on
> precipitation. I have used CAM-CLM3.0 to create a number of initial
> datasets ( such as camrun1.clm2.i.***.nc). I am trying to average
> variable values in the different initial datasets to a new initial
> dataset and have no idea on how to achieve this. The difficulties are:
> these initial datasets contain many variables and variable dimensions
> are like (column, levtot), not like (levtot, lat, lon). I would
> appreciate any suggestions or comments. Thank you!
>
> Lei
> Texas A&M University
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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-talk
Received on Thu Jun 18 2009 - 17:14:29 MDT
This archive was generated by hypermail 2.2.0 : Mon Jun 22 2009 - 15:36:10 MDT