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

博文

PRIDE PPPAR生成近似坐标脚本rtk2xyz.sh运行错误error: rnx2rtkp not found

已有 2167 次阅读 2020-3-8 18:43 |个人分类:PRIDE PPPAR|系统分类:科研笔记

首先要确保PRIDE PPPAR软件安装准确,可以正常运行example文件中的实例;

其次要确保软件权限设置不存在问题。

一、发现问题

输入:rtk2xyz.sh 2019/150/

输出:error: rnx2rtkp not found

查看rtk2xyz.sh源代码,可以发现错误发生在51行;

image.png

为了验证,终端中

输入:rnx2rtkp --help > /dev/null 2>&1

输入:echo $?

输出:126


$?返回值所表示的大概含义 例:

0 表示成功

2 权限拒绝

1-125 表示运行失败,脚本命令,系统命令错误或参数传递错误

126 找到命令了但无法执行

127 未找到要运行的命令

128 命令被系统强制结束

255 退出状态码越界

从上面可以看出,错误原因在于PRIDE PPPAR自带的rnx2rtkp程序不可用;

询问官方支持得知原因如下,而我的电脑是64位的;

image.png

二、解决问题

1、自己编译【RTKLIB】RTKPOST程序

https://blog.csdn.net/qq_39600809/article/details/80839138

image.png

2、将rnx2rtkp复制到~/.PRIDE_PPPAR_BIN/替换原来的文件

3、验证,输入:rnx2rtkp -?

 usage: rnx2rtkp [option]... file file [...]


 Read RINEX OBS/NAV/GNAV/HNAV/CLK, SP3, SBAS message log files and ccompute

 receiver (rover) positions and output position solutions.

 The first RINEX OBS file shall contain receiver (rover) observations. For the

 relative mode, the second RINEX OBS file shall contain reference

 (base station) receiver observations. At least one RINEX NAV/GNAV/HNAV

 file shall be included in input files. To use SP3 precise ephemeris, specify

 the path in the files. The extension of the SP3 file shall be .sp3 or .eph.

 All of the input file paths can include wild-cards (*). To avoid command

 line deployment of wild-cards, use "..." for paths with wild-cards.

 Command line options are as follows ([]:default). With -k option, the

 processing options are input from the configuration file. In this case,

 command line options precede options in the configuration file.

......




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

上一篇:VS2017编译GAMP流程
下一篇:PPP-AR/PPP-RTK概念
收藏 IP: 171.114.89.*| 热度|

0

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

数据加载中...
扫一扫,分享此博文

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

GMT+8, 2024-5-21 23:54

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部