爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 4708|回复: 1

ncl使用time_axis_labels创建时间坐标

[复制链接]

新浪微博达人勋

发表于 2016-5-17 22:49:59 | 显示全部楼层 |阅读模式
NCL
系统平台:
问题截图: -
问题概况: time_axis_labels一行显示错误
Dimension size of attribute and right-hand side of assignment do not match
我看过提问的智慧: 看过
自己思考时长(天): 1

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

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

x
文档中txt的时间值为2015-04-25_00:00:002015-04-25_01:00:00
2015-04-25_02:00:00
2015-04-25_03:00:00
2015-04-25_04:00:00
利用这里介绍的  cd_inv_string获取时间值timeuse
Variable: timeuse
Type: double
Total Size: 968 bytes
            121 values
Number of Dimensions: 1
Dimensions and sizes:   [121]
Coordinates:
Number Of Attributes: 3
  _FillValue :  9.969209968386869e+36
  calendar :    standard
  units :       hours since 1800-01-01 00:00:00
(0)     1887384
(1)     1887385
(2)     1887386
(3)     1887387
(4)     1887388
但是

time_axis_labels(timeuse,sres,restick) ;line 156
       plots(j,0) = gsn_csm_xy(wks,timeuse,a(j,0,:),sres)

总是显示156 Dimension size of attribute and right-hand side of assignment do not match





密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2016-5-19 10:26:48 | 显示全部楼层
sres@tmXBMode              = "Explicit"         ; explicit label
Dimension size of attribute and right-hand side of assignment do not match
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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