爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
12
返回列表 发新帖
楼主: 无敌泡

[图形美化] linux下grads怎么找不到cbarn命令?

[复制链接]

新浪微博达人勋

发表于 2016-11-2 09:15:44 | 显示全部楼层

同样的问题,请问怎么解决的?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-11-10 10:30:56 | 显示全部楼层
我下载的2.0.2版本的,也是这个情况,还没有解决,各位大神有解决的吗
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-11-10 10:34:06 | 显示全部楼层
emmamoly 发表于 2016-7-21 10:05
我也遇到同样问题啊??请问是怎么解决的???求指教啊

解决了吗,我现在也是这个问题很苦恼啊
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2022-6-11 10:18:13 | 显示全部楼层
挖个坟。。。
可以参考以下方法
cbarn找不到,是因为没安装相应的lib,或者是环境变量没设置完全:

export GRADSDIR=.......(安装路径)
export GADDIR=$GRADSDIR/dat/
export GASCRP=$GRADSDIR/lib/
export PATH=$PATH:$GRADSDIR/bin/

建议楼主还是尝试用本站提供的打好包windows平台的grads吧。
对于新手,而且不太想深入学习的人而言,那个会更容易使用些。

搬运自http://bbs.06climate.com/forum.php?mod=redirect&goto=findpost&ptid=32881&pid=435421&fromuid=12776

官网给出的解决办法
Environment Variables
Some environment variables must be set before starting GrADS.
GADDIR          Points to the directory containing the supplemental font and map files in the GrADS release package. If GADDIR is not set, GrADS will look in the default location, /usr/local/lib/grads/.
GASCRP         Points to a list of directories containing GrADS utility scripts and user scripts. If more than one directory is specified, acceptable delimiters are a space, a semi-colon, colon, or a comma.
GASHP        (GrADS version 2.0.0+) Points to a list of directories containing shapefiles. Put your shapefiles in those directories, and then it won't be necessary to use the full path when drawing or querying the shapefiles. If more than one directory is specified, acceptable delimiters are a space, a semi-colon, colon, or a comma.
GAUDFT         (GrADS version 1.9 or earlier) Points to the user defined function table. If this variable is not set, the function table will not be read.
GAUDPT         (GrADS version 2.1.1+) This variable identifies the user defined plug-in table, and should contain a single filename with its full path. GrADS will also look in the directory named by GADDIR for a file named "udpt".
For example:

C-shell

example% setenv GADDIR /ford1/local/lib/grads
example% setenv GASHP $HOME/grads/shapefiles
example% setenv GASCRP "$HOME/grads/scripts /opt/local/share/grads/library"
example% setenv GAUDPT $HOME/grads/udpt

Bourne shell

example% GADDIR=/ford1/local/lib/grads; export GADDIR
example% GASCRP=$HOME/grads/scripts; export GASCRP
example% GAUDPT=$HOME/grads/udpt; export GAUDPT

搬运自http://cola.gmu.edu/grads/gadoc/gadocindex.html



密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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