【Tools】多平台GNSS数据处理利器:TEQC批处理——.bat脚本

输入文件夹如下:

在这里插入图片描述

Quality Check:lite模式

lite模式bat脚本

@echo 
setlocal enabledelayedexpansion

for %%i in (Inputs/*.??o)  do (
echo %%i
set "file=%%i"
set "reportfile=!file!.report_lite"
teqc +qc  Inputs/"%%i" > Outputs/"!reportfile!
)

pause

lite模式运行实例

ECHO 处于打开状态。

E:\GNSSTools\test_TEQC>setlocal enabledelayedexpansion

E:\GNSSTools\test_TEQC>for %i in (Inputs/*.??o) do (
echo %i
 set "file=%i"
 set "reportfile=!file!.report_lite"
 teqc +qc  Inputs/"%i"  1>Outputs/"!reportfile!"
)

E:\GNSSTools\test_TEQC>(
echo bjfs0010.25o
 set "file=bjfs0010.25o"
 set "reportfile=!file!.report_lite"
 teqc +qc  Inputs/"bjfs0010.25o"  1>Outputs/"!reportfile!"
)
bjfs0010.25o
qc lite >! Notice ! 'Inputs/bjfs0010.25o': no GLONASS navigation file/data or slot vs. frequency channel number file
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

E:\GNSSTools\test_TEQC>(
echo bjfs0020.25o
 set "file=bjfs0020.25o"
 set "reportfile=!file!.report_lite"
 teqc +qc  Inputs/"bjfs0020.25o"  1>Outputs/"!reportfile!"
)
bjfs0020.25o
qc lite >! Notice ! 'Inputs/bjfs0020.25o': no GLONASS navigation file/data or slot vs. frequency channel number file
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

E:\GNSSTools\test_TEQC>(
echo bjfs0030.25o
 set "file=bjfs0030.25o"
 set "reportfile=!file!.report_lite"
 teqc +qc  Inputs/"bjfs0030.25o"  1>Outputs/"!reportfile!"
)
bjfs0030.25o
qc lite >! Notice ! 'Inputs/bjfs0030.25o': no GLONASS navigation file/data or slot vs. frequency channel number file
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

E:\GNSSTools\test_TEQC>pause
请按任意键继续. . .

Quality Check:full模式

full模式bat脚本

@echo off
setlocal enabledelayedexpansion

for %%i in (Inputs/*.??o) do (

    set "file=%%i"
    set "reportfile=!file!.report_full"

    set "base=%%~ni"
    set "base=brdc!base:~4!"
    
    rem o to n
    set "ext_part=%%~xi"
    set "new_ext=!ext_part:~1,2!n"
    set "target_file=!base!.!new_ext!"

    teqc +qc Inputs/"!target_file!" Inputs/"%%i" > Outputs/"!reportfile!"
)
pause

full模式运行实例

qc lite >! Notice ! 'Inputs/bjfs0010.25o': no GLONASS navigation file/data or slot vs. frequency channel number file
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
qc lite >! Notice ! 'Inputs/bjfs0020.25o': no GLONASS navigation file/data or slot vs. frequency channel number file
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
qc lite >! Notice ! 'Inputs/bjfs0030.25o': no GLONASS navigation file/data or slot vs. frequency channel number file
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
请按任意键继续. . .
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值