爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 6660|回复: 0

[作图] 有人知道ctl2ncl.rb这个命令如何使用吗?

[复制链接]
发表于 2014-11-10 10:24:58 | 显示全部楼层 |阅读模式

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

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

x
我现在需要把grd格式的数据转换成nc文件,在官网上查了可以用ctl2ncl.rb,我现在也都安装上了,可以使用了,但就是不知道怎么用,它的用法是什么?总是不断地提醒:
Usage: ctl2ncl.rb [options]
A grads ctl parser and NCL script generator based on ruby
Specific options:
    -i, --infile CTLFILE             the grads ctl file
    -o, --outfile NCLFILE            the NCL script file
    -v, --vars *NUM                  variables to retrieve
                                     e.g: --vars u850 t850 prec
                                     or -v u850 t850 prec
    -t, --time time(s)               -t : supply time as indices
                                     e.g -t 1:5 retrieves data
                                     from t=1 to 5

                                     --time : supply calendar time
                                     e.g --time Jan2005:Dec2005
                                     retrieves data from
                                     time =Jan2005 to Dec2005
        --plot                       add code to display figures

Common options:
        --help                       Show this message
        --version                    Show version


实际操作时,输入ctl2ncl.rb --version还是得到上面的结果,用ctl2ncl.rb --v和ctl2ncl.rb -v都不行,大神帮帮忙!
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

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

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