爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 19270|回复: 31

安装WPS时无plotfmt.exe 和 plotgrids.exe ,求大神

[复制链接]

新浪微博达人勋

发表于 2014-3-13 16:59:28 | 显示全部楼层 |阅读模式

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

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

x
[root@qjqxj WPS]# ls *.exe
geogrid.exe  metgrid.exe  ungrib.exe
[root@qjqxj WPS]# cd util
[root@qjqxj util]# ls *.exe
avg_tsfc.exe      g1print.exe  height_ukmo.exe  mod_levs.exe
calc_ecmwf_p.exe  g2print.exe  int2nc.exe       rd_intermediate.exe
附上compile.log



求大神帮忙看看!论坛上说即使没有生成,也不会影响到WRF的运行,但我在运行WPS时,出现了问题
[root@qjqxj WPS]# ./geogrid.exe
./geogrid.exe: error while loading shared libraries: libnetcdff.so.5: cannot open shared object file: No such file or directory
这又该怎么解决?

compile.log

97.05 KB, 下载次数: 2, 下载积分: 金钱 -5

compile

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

新浪微博达人勋

发表于 2014-4-25 19:17:14 | 显示全部楼层
Programs 'plotgrids.exe' and 'plotfmt.exe' are no longer automatically compiled with WPS. The reason is that, instead of 'plotgrids.exe,' there is a program called 'plotgrids.ncl' that is compiled, and serves the exact same purpose.
密码修改失败请联系微信:mofangbao
回复 支持 2 反对 0

使用道具 举报

新浪微博达人勋

发表于 2014-3-13 22:06:40 | 显示全部楼层

你下数据是NetCDF格式么!
你要下载原始的grib1数据,不要让网站帮你转换成nc格式。我觉得你得先研究一下数据下载网站。
密码修改失败请联系微信:mofangbao
回复 支持 0 反对 1

使用道具 举报

新浪微博达人勋

 楼主| 发表于 2014-3-13 17:10:16 | 显示全部楼层
系统centos6.5 -x86_64
软件gcc ,g++ ,gfortran为4.47
pgilinux-2014-143-x86_64
ncl_ncarg-6.1.2.Linux_RHEL6.2_x86_64_nodap_gcc446
netcdf-4.1.3
WRFV3.5.1
WPSV3.5.1
ARWpost_V3
grads-2.1.a1-bin-CentOS5.9-x86_64
geog_v3.4
不知道和软件版本又关系没


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

新浪微博达人勋

发表于 2014-3-13 17:10:50 | 显示全部楼层
是你netcdf没装好吧,在说了无法生成那两个.exe论坛里有很多解决方法的
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2014-3-13 17:12:46 | 显示全部楼层
plotfmt.exe和plotgrids.exe不要没有关系,两个辅助程序而已,而且你给的log里面就没有生成这两个exe的记录。
geogrid.exe的错误跟这两个exe没有任何关系。出错是因为找不到netcdf的fortran库。这问题在论坛上讨论的很多,最常见的就是库装在非常规位置,而又没有通过LD_LIBRARY_PATH环境变量告诉系统这个库在哪!你搜索相关贴子看看吧!
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2014-3-13 17:15:02 | 显示全部楼层
[root@qjqxj ~]# ncdump
ncdump [-c|-h] [-v ...] [[-b|-f] [c|f]] [-l len] [-n name] [-p n[,n]] [-k] [-x] [-s] [-t] [-w] file
  [-c]             Coordinate variable data and header information
  [-h]             Header information only, no data
  [-v var1[,...]]  Data for variable(s) <var1>,... only
  [-b [c|f]]       Brief annotations for C or Fortran indices in data
  [-f [c|f]]       Full annotations for C or Fortran indices in data
  [-l len]         Line length maximum in data section (default 80)
  [-n name]        Name for netCDF (default derived from file name)
  [-p n[,n]]       Display floating-point values with less precision
  [-k]             Output kind of netCDF file
  [-x]             Output XML (NcML) instead of CDL
  [-s]             Output special (virtual) attributes
  [-t]             Output time data as date-time strings
  [-w]             Without client-side caching of variables for DAP URLs
  file             Name of netCDF file
netcdf library version 4.1.3 of Mar 12 2014 01:53:32 $
这样不是装好了么?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2014-3-13 17:36:38 | 显示全部楼层
longlivehj 发表于 2014-3-13 17:12
plotfmt.exe和plotgrids.exe不要没有关系,两个辅助程序而已,而且你给的log里面就没有生成这两个exe的记录 ...

geogrid.exe的错误,改怎么解决呢?
通过LD_LIBRARY_PATH环境变量告诉系统这个库在哪?
怎么操作?不会哦
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2014-3-13 17:45:08 | 显示全部楼层
chwei7 发表于 2014-3-13 17:36
geogrid.exe的错误,改怎么解决呢?
通过LD_LIBRARY_PATH环境变量告诉系统这个库在哪?
怎么操作?不会 ...

确定libnetcdff.so.5所在的目录,比如/home/longlivehj/lib
终端运行:export LD_LIBRARY_PATH=/home/longlivehj/lib:$LD_LIBRARY_PATH
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2014-3-13 18:20:08 | 显示全部楼层
嗯,很有可能你环境变量没设置好
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2014-3-13 19:07:37 | 显示全部楼层
geogrid.exe已解决,现在ungrib.exe出了问题:[root@qjqxj WPS]# ./ungrib.exe
*** Starting program ungrib.exe ***
Start_date =  2013-06-08_12:00:00 ,      End_date = 2013-06-09_18:00:00
output format is WPS
Path to intermediate files is ./
ERROR: Grib2 file or date problem, stopping in edition_num.
Warning: ieee_inexact is signaling
FORTRAN STOP

先后
[root@qjqxj WPS]# ln -s ungrib/Variable_Tables/Vtable.GFS Vtable
[root@qjqxj WPS]# ./link_grib.csh  /WRF/WPS/gribdata/fnl*
[root@qjqxj WPS]# ln -s ungrib/Variable_Tables/Vtable.GFS Vtable
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2014-3-13 19:41:19 | 显示全部楼层
chwei7 发表于 2014-3-13 19:07
geogrid.exe已解决,现在ungrib.exe出了问题:[root@qjqxj WPS]# ./ungrib.exe
*** Starting program ung ...

fnl资料有grib1和grib2两种编码格式,安装WPS时编译选择了grib1,不能对grib2数据进行处理。
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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