- 积分
- 62938
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-4-21
- 最后登录
- 1970-1-1
|
发表于 2015-6-4 22:15:58
|
显示全部楼层
This is telling you that the leftmost dimension, possibly "time", is not
either strictly increasing, or strictly decreasing, which is a requirement
for coordinate arrays.
Perhaps you mean to "join" the files rather than "cat" them? "Cat" is the
default, which means it tries to concatenate the leftmost dimensions of all
the files, which requires that this dimension be monotonic.
Do you actually want to create a *new* dimension, for example, if you have
10 files, then you would get a new leftmost dimension of size 10? If so,
you need to call "ListSetType" to indicate you want "join" mode, after you
call "addfiles", but before you read any variables off the files:
f = *addfiles* (fils, "r")
*ListSetType*
<http://www.ncl.ucar.edu/Document ... n/ListSetType.shtml> (f,
"join")
|
|