- 积分
- 23021
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-6-10
- 最后登录
- 1970-1-1
|
发表于 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
|
|