多语言展示
当前在线:1708今日阅读:82今日分享:48

windows 10下GRADS的FAST_CWD pointer错误处理

在windows 10操作系统里面GrADS(Grid Analysis and Display System)安装完毕并配置好环境变量当在命令行中使用grads -l 时却会出现:D:\>grads -l      0 [main] grads 7900 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer.  Please report this problem tothe public mailing list cygwin@cygwin.comStarting grads under D:\program\OpenGrADS\Contents\Cygwin\Versions\2.1.a2.oga.1\i686 ...Grid Analysis and Display System (GrADS) Version 2.1.a2.oga.1Copyright (c) 1988-2013 by the Institute for Global Environment and Society (IGES)GrADS comes with ABSOLUTELY NO WARRANTYSee file COPYRIGHT for more informationConfig: v2.1.a2.oga.1 little-endian readline grib2 netcdf hdf4-sds hdf5 opendap-grids,stn athena geotiff shapefile cairoIssue 'q config' command for more detailed configuration informationLoading User Defined Extensions table ... ok.GX Package Initialization: Size = 11 8.5Error in GXSTRT: Unable to connect to X server
工具/原料

OpenGrADS

方法/步骤
1

右击我的电脑/高级系统设置/高级/环境变量

2

添加环境变量:GADDIR变量值如下:D:\program\OpenGrADS\Contents\Resources\SupportData(注意OpenGrADS的安装路径)

3

找到OpenGrads的安装路径D:\program\OpenGrADS找到此路径下的Contents\Resources\Xming也就是:D:\program\OpenGrADS\Contents\Resources\Xming找到XLaunch.exe

4

双击XLaunch.exe按提示步骤配置

5

测试结果:开始/cmd/grads -l可以看到grads的绘图窗口出来了,可以正常使用虽然它还是提示:0 [main] grads 2640 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer.

注意事项
1

OpenGrads的版本与安装路径

2

XLaunch.exe的运行配置

3

环境变量GADDIR的设置

推荐信息