爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 7110|回复: 17

[图形美化] LINUX 系统下GRADS 保存gmf 出错

[复制链接]
发表于 2015-5-19 09:09:14 | 显示全部楼层 |阅读模式

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

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

x
在linux下用GRADS保存其他格式png eps能保存,但是保存gmf格式出错
printim  filename.gmf white
错误提示为 GXPRINT error:unable to determine output format
密码修改失败请联系微信:mofangbao
发表于 2015-5-19 09:44:04 | 显示全部楼层
跟系统没关系。是你命令是用错误。

Sample::

'enable print temp.gmf'
t=1
while (t <=34)
'set t 't
'd rgrid'
'print'
'c'
t=t+1
endwhile
'disable print'
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2015-5-21 15:29:08 | 显示全部楼层
梦纯 发表于 2015-5-19 09:44
跟系统没关系。是你命令是用错误。

Sample::

我知道你的意思 enable print filename.gmf
                      print
                       disable print
但是我在linux下 GRADS运行完后没有gmf文件生成  ,同时gif一样
密码修改失败请联系微信:mofangbao
发表于 2015-5-21 21:22:04 | 显示全部楼层
269772539 发表于 2015-5-21 15:29
我知道你的意思 enable print filename.gmf
                      print
                       disa ...

Hi, 把你的gs文件贴出来吧,这样凭空想象,谁能知道错误啊~
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2015-5-21 21:45:21 | 显示全部楼层
'reinit'
'open /home/wangming/processdata/lab2/domain/geo0106-211.ctl'
'set parea 3 10 0.5 8'
'set lat 15 55'
'set lon 70 140'
'set grads off'
'set grid off'
'set xlint 10'
'set ylint 10'
'set timelab off'
'set xlopts 1 10 0.25'
'set ylopts 1 10 0.25'
'set mpdset hires'
*'set cmin 155000'
*'set cmax 155000'
'set annot 1 10'
'set t 2'
'd HGT'
*'cnbasemap 1 0'
'printim china.eps white'
'disable print china.gmf white'
'print'
'disable print'
;
error: the “disable print” command is no longer vaild,use“gxprint”instead
error: the “print” command is no longer vaild,use“gxprint”instead
error: the “disable print” command is no longer vaild,use“gxprint”instead
利用gxprint  出现 unable to determine output format
密码修改失败请联系微信:mofangbao
发表于 2015-6-27 20:16:24 | 显示全部楼层
'printim china.eps white'
'disable print china.gmf white'
'print'
'disable print'
这几步换成
’enable print china.gmf'
'print'
'disable print'
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2015-7-6 18:52:20 | 显示全部楼层
dcx 发表于 2015-6-27 20:16
'printim china.eps white'
'disable print china.gmf white'
'print'

还是不行!!!
密码修改失败请联系微信:mofangbao
发表于 2015-9-14 17:00:56 | 显示全部楼层
帮楼主顶上去,出现了同样的问题
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2015-9-15 19:59:12 | 显示全部楼层
黄叁3 发表于 2015-9-14 17:00
帮楼主顶上去,出现了同样的问题

你是不是用的 2.1.a2 版本? 你现在解决了没
密码修改失败请联系微信:mofangbao
发表于 2015-9-16 10:37:16 | 显示全部楼层
269772539 发表于 2015-9-15 19:59
你是不是用的 2.1.a2 版本? 你现在解决了没

我现在就只会画png的……
'gxprint e:\aa\zdfb\t1.png x1024 y768 white'
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

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

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