Two files with the same name? Are they in different directories?
[1] Use the netCDF operator:
ncecat - netCDF Ensemble Concatenator
ncecat dir1/tas_CCSM_190001-194912.nc dir2/tas_CCSM_190001-194912.nc FOO.nc
[2]
fils = (/ "dir1/tas_CCSM_190001-194912.nc" \
, "dir2/tas_CCSM_190001-194912.nc" /)
f = addfiles (fils, "r") ; note the "s" of addfile
ListSetType (f, "join")
T = f[:]->T ; read T from all files
On 04/12/2012 08:32 PM, Panday, Prajjwal wrote:
> Hello
> I am trying to adjoin two (or more) netcdf files temporally. How would I
> do this in NCL while keeping the netCDF structure intact and keeping all
> variables (time, lat, lon, var)?
> e.g.file1 tas_CCSM_190001-194912.nc
> file2 tas_CCSM_190001-194912.nc
>
> Thanks,
> Prajjwal
>
>
> _______________________________________________
> 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 Fri Apr 13 09:15:29 2012
This archive was generated by hypermail 2.1.8 : Fri Apr 13 2012 - 13:37:52 MDT