爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 6620|回复: 7

[其他] 请教ncl运行奇葩的错误

[复制链接]
发表于 2015-6-4 18:28:21 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
  
用addfiles一次读取3个文件,提取变量并PrintVarSummary,提示:

warning: error attempting to fix non-monotonic aggregation variable

不知哪位大神有没有遇到过

密码修改失败请联系微信:mofangbao
发表于 2015-6-4 19:19:12 | 显示全部楼层
NCL什么版本?
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2015-6-4 21:38:13 | 显示全部楼层

NCL是最新的 6.3.0
密码修改失败请联系微信:mofangbao
发表于 2015-6-4 22:15:58 | 显示全部楼层
niuda 发表于 2015-6-4 21:38
NCL是最新的 6.3.0

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")
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2015-6-4 22:41:56 | 显示全部楼层
andrewsoong 发表于 2015-6-4 22:15
This is telling you that the leftmost dimension, possibly "time", is not
either strictly increasi ...


我已经设置了 ListSetType 为 cat 的,三个文件的时间是连续的
密码修改失败请联系微信:mofangbao
发表于 2015-6-5 10:27:07 | 显示全部楼层
运行NCL范例不出图像怎么回事?
密码修改失败请联系微信:mofangbao
发表于 2015-11-20 12:12:05 | 显示全部楼层
请问楼主解决了么???{:eb302:}
密码修改失败请联系微信:mofangbao
发表于 2018-7-13 11:41:06 | 显示全部楼层
请问这个问题解决了吗,如果解决了能分享一下解决办法吗
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表