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

博文

sh_upd_stnfo WARNING

已有 1968 次阅读 2022-1-16 21:44 |个人分类:GAMIT/GLOBK|系统分类:科研笔记

sh_upd_stnfo总是会出现如下WARNING

WARNING:220116:2117:14.0 MSTINF/htoglb/mstinf: Checking station.info entries for RINEX file bjfs0080.22o
WARNING:220116:2117:14.0 MSTINF/htoglb/mstinf: swver (       5.) from rcvers > 99., set to zero (Name bjfs0080.22)

原因如下:

第一个WARNING:纯粹是多余的,直接在源代码里面屏蔽就可以了;

      write(message,'(2a)')
     .   'Checking station.info entries for RINEX file ',rx_file(irxf)                                                                         
      call report_stat('STATUS','MSTINF','htoglb/mstinf',' '
     .                ,message,0)  
*     call report_stat('WARNING','MSTINF','htoglb/mstinf',' '
*    .                ,message,0)

第二个WARNING:是因为if语句写的不合理:

swver表示接收机硬件版本,gamit的./kf/htoglb/mstinf.f源代码中设置了,不能超过99.0

但是代码中if语句执行,默认输出这句错误信息:

*       but if the decimal number is too large for the station.info field width
*       (f5.2), set it to 0.0
        read(rcvers,'(f20.0)',iostat=ioerr ) swver
        if( swver.gt. 99.) swver = 0.0
        write(message,'(a,f9.0,a)')
     .     'swver (',swver,') from rcvers > 99., set to zero'
        call report_stat('WARNING','MSTINF','htoglb/mstinf'
     .                  ,fname(1:lenf),message,0)

改成:

*       but if the decimal number is too large for the station.info field width
*       (f5.2), set it to 0.0
        read(rcvers,'(f20.0)',iostat=ioerr ) swver
        if( swver.gt. 99.) then
          swver = 0.0
          write(message,'(a,f9.0,a)')
     .       'swver (',swver,') from rcvers > 99., set to zero'
          call report_stat('WARNING','MSTINF','htoglb/mstinf'
     .                  ,fname(1:lenf),message,0)
        endif


重新编译gamit即可




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

上一篇:C#的DLL代码调试工具.NET Reflector Visual Studio Extension
下一篇:RTCM MSM (Multiple Signal Messages)
收藏 IP: 113.57.114.*| 热度|

0

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

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

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

GMT+8, 2024-5-29 10:04

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部