Re: mergetime with different time units

From: Adam Phillips <asphilli_at_nyahnyahspammersnyahnyah>
Date: Wed Sep 25 2013 - 13:20:18 MDT

Hi Xi,
I have recently done this. NCL will automatically adjust the times of
the latter file if you read-in the two files using addfiles:

fils = (/"X.nc","Y.nc"/)
a = addfiles(fils,"r")
time = a[:]->time
print(time)

Give it a try.
Adam

On 09/25/2013 12:38 PM, Xi Chang wrote:
> Hallo NCL,,
>
> Is there any solution in NCL to merge two netcdf data with different
> time units?
> for instance I have two */daily/* datasets, say:
>
> X.nc: 1990-2010 time units *hours since 1955-01-01 00:00:00*
> Y.nc: 2011-2013 time units *hours since 1980-01-01 18:00:00*
> *
> *
> how could I combine or merge the time in these two datasets?
> Thank you for any hints..
>
> Xi
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-- 
______________________________________________________________
Adam Phillips                                asphilli@ucar.edu
NCAR/Climate and Global Dynamics Division       (303) 497-1726
P.O. Box 3000				
Boulder, CO 80307-3000    http://www.cgd.ucar.edu/cas/asphilli

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Sep 25 13:20:39 2013

This archive was generated by hypermail 2.1.8 : Tue Oct 01 2013 - 14:41:43 MDT