Menu

#7 concatenating along time axis

open
nobody
cdms (2)
5
2012-12-10
2006-12-21
Anonymous
No

Hello,

I have been trying to migrate from NCO utilities to CDAT, so I am a beginner to CDAT and to Pytrhon. One common task I have is concatenating files. When I import a model run from the 20th century and use MV.concatenate to add on a 21st century run, the times are fouled up. The two files have different base times (e.g. days since 1860-1-1 for 20th century and days since 2001-1-1 for the 21st century portion. The relative values are included in the concatenated file, but the base time is inherited from the first file. This causes problems when writing the netCDF file.

Is there a relatively easy way to work around this? I have been trying to use things like asComponentTime and assignValues but have had no luck yet.

Thanks,
Ed
emaurer@engr.scu.edu

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.