chaoshu的个人博客分享 http://blog.sciencenet.cn/u/chaoshu

博文

基于Windows10+Ubuntu子系统G-NUT/Anubis可视化

已有 4915 次阅读 2020-4-22 23:22 |个人分类:G-Nut/Anubis|系统分类:科研笔记

G-NUT/Anubis的正常使用方法,可以参考如下博文,介绍的很详细:

http://blog.sciencenet.cn/blog-3387053-1221114.html

但是绘图方面存在一些问题,补充如下:

采用官方的plot_Anubis-2.2-2018-08-01实现绘图:

1)安装需要的软件

sudo apt-get install gnuplot

sudo apt-get install gnuplot-x11

sudo apt-get install libchart-gnuplot-perl

sudo apt-get install imagemagick

2)运行语句:(进入plot_Anubis-2.2-2018-08-01目录里面)

./plot_Anubis.pl  --ifile ../LHAZ20200422.xtr  --plot="lhaz.png" --all --all --title="lhaz [2020:092]"


出现错误:

convert-im6.q16: not authorized `/tmp/QKkb5pXMyD/plot.tmp' @ error/constitute.c/ReadImage/412.

convert-im6.q16: no images defined `/tmp/QKkb5pXMyD/plot.tmp.png' @ error/convert.c/ConvertImageCommand/3258.

解决方法:

修改配置文件/etc/ImageMagick-6/policy.xml,将所有的格式赋read,write权限

sudo vim /etc/ImageMagick-6/policy.xml

image.png

保存后重新尝试,成功获得图形;

image.png

lhaz_sum_all.png

lhaz_sum_obs.png



https://blog.sciencenet.cn/blog-858128-1229676.html

上一篇:GNSS TUTOR
下一篇:基于Windows10+Ubuntu16.04子系统安装gamit10.71
收藏 IP: 113.57.114.*| 热度|

1 李振

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-20 04:24

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部