科学网

 找回密码
  注册

tag 标签: globk批处理脚本

相关帖子

版块 作者 回复/查看 最后发表

没有相关内容

相关日志

GLOBK批处理脚本
tao164411096 2019-4-20 13:47
解完基线后的平差,我一般使用globk分布处理。 写了个批处理的globk脚本,根据输入的参数glred/globk,可以分别得到时间序列和速度并画图。 使用前需新建glred和globk文件夹,并将提前准备好的两个cmd和apr文件放到glred/globk文件夹内。 将脚本放到工程目录执行即可。 #!/bin/bash ############# ##提前准备好两个cmd,apr文件放到globk/glred文件里,之后执行脚本 if then echo'##########################################' echo'##' echo'#Usage:bashsh_globkglobk/glred#' echo'##' echo'##########################################' exit fi ########### run=$1 if ;then if ;then mkdirhfiles cp./tables/svnav.dathfiles find./-namehexpt*|xargs-icp{}./hfiles/ htoglb./glbf/./tables/svs_myexp.svs./hfiles/h* cd./${run} ls../glbf/h*.glxexpt.gdl ${run}6${run}.prt${run}.logexpt.gdlglobk_简.cmd ####glredforTimeSeries################# if ;then echo-e\\033 ;then echo-e\\033[42;37m++++++++globk+++++++\\033[0m echo-e\\033[42;37m++++++++globk+++++++\\033[0m grep'Unc.'globk.orgresult.xyz mkdirvel cpglobk.orgvel cdvel sh_org2vel-fileglobk.org sh_plotvel-fileglobk.vel fi ###################################### else echo-e\\033[42;37m+++++donotexist${run}orCMDfiles+++++\\033[0m fi else echo. echo-e\\033[42;37m+++++pleaseinputglred/globk+++++\\033[0m echo. fi
个人分类: GAMIT/GLOBK|2487 次阅读|0 个评论

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

GMT+8, 2024-5-11 17:46

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部