TEQC可以将天宝dat数据转换成RINEX。
以下语句为用‘teqc‘创建导航(.nav)和RINEX(.yyo)文件。
% teqc -tr d -week 2002:323 +nav BOWL3230.nav ../RAW/BOWL3230.dat > BOWL3230.02o
说明如下如:
% teqc -tr d -week 2002:323 +nav BOWL3230.nav ../RAW/BOWL3230.dat > BOWL3230.02o
# ^ ^ ^ ^ ^
# | | | | |
# convert | create navigation | output file
# | file |
# | input dat
# tell it when file
# data is from
为每个文件执行此操作会花费一些时间,特别是当您正在重新处理大量旧数据时。因此,最好使用shell脚本来自动化这个过程。
# run without arguements to get usage.
% run_teqc_GT
Usage: %/home/anewman/bin/GPS/run_teqc_GT YEAR STAT BDOY EDOY ANT file(s)
runs teqc on the GPS.tps_files listed as the 5th and later arguments.
YEAR - is the year of the occupation
STAT - station name
BDOY - Begining DOY
EDOY - Ending DOY
#SH - Antenna slant height
ANT - Antenna height
files - .T00 files that come from some trimble machines
# run again correctly this time.
% run_teqc_GT 2012 ARE3 001 100 0.0 *.t00
比如我们有一个更新的脚本/home/anewman/bin/GPS/T02toRNX.sh我们专门用于NetR 9站点的文件。
我们现在可以删除新创建的ROCK*因为SVRK文件是相同的。我们还需要单独替换文件中所有发生的单词ROCK。SVRK*.
% cd ~/MGM/Socorro2002/rinex/ # make sure you are in the correct directory
% rm ROCK* # remove any residual ROCK* files
% gunzip * # uncompress all compressed files in directory (*.gz *.Z)
% for file in SVRK* # run on all SVRK* files
do
sed 's/ROCK/SVRK/g' $file > $$.tmp # replace text 'ROCK' with 'SVRK' within $file and put it in $$.tmp
mv $$.tmp $file # replace $file with $$.tmp
done
完成后,检查是否所有必需的文件都在当前目录中。
(9站X 2天X 10档案=180个档案)。数字取决于您是否创建了其他文件(例如,lfiles*).
% ls
% ls -1 | wc # gives first output number is equal to the number
# of files in current directory
简化命令:
teqc.exe -tr d 60012670.dat > 60012670.rnx
TEQC 转换dat到RINEX
尚无评论!