爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 4416|回复: 6

[分享资料] 请教一下wgrib的问题

[复制链接]

新浪微博达人勋

发表于 2012-3-12 11:46:06 | 显示全部楼层 |阅读模式

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

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

x
请教一下wgrib的问题  
我在windows下用DOS命令 比如输出1000mb位势高度,结果总说“find不是内部或外部命令,也不是可运行的程序” 怎么回事呢?
wgrib  -s  fnl_070701_06_00  |  find  ":HGT:1000  mb:"  |  wgrib  -i  -text  fnl_070701_06_00  -o
out.txt
还有 是不是linux下要用“grep” windows下用“find”啊?
新手,不太了解,谢谢大家!
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2012-3-12 15:25:22 | 显示全部楼层
谁来帮帮忙啊?急
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2012-3-12 23:08:57 | 显示全部楼层
I used wgrib in the linux system, so "grep" works well. I searched the wgrib instruction for you if you don't have access to the grep command:

Step 1) wgrib input_file > inventory_file
Step 2) Edit inventory_file and delete all inventory records which you DO NOT WANT to keep
Step 3) wgrib -i -grib -o output_file input_file < inventory_file

So, I guess you have to use this way to delete all the records you don't want, and then creat a new inventory file for wgrib.
Hope it helps,

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

新浪微博达人勋

 楼主| 发表于 2012-3-20 11:09:16 | 显示全部楼层

嗯 我试了一下 可以的 谢谢!
只是我是写了个程序,在fortran里面处理,调用的wgrib,find还是不行。
前几天重装了下系统就可以正常用了,本来以为好了,结果昨天又不行了。昨天清理了一下注册表,应该不会是这个原因吧?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-10-1 10:14:06 | 显示全部楼层
wgrib?有什么作用!
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-10-1 11:04:37 | 显示全部楼层
找个wgrib2
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-11-5 22:41:37 | 显示全部楼层
maplesnow82 发表于 2012-3-12 23:08
I used wgrib in the linux system, so "grep" works well. I searched the wgrib instruction for you if  ...

请问大神知道怎么输出grb格式的数据吗??
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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