ulity programs and scripts -...
TRANSCRIPT
![Page 1: Ulity programs and scripts - GeoWebgeoweb.mit.edu/~floyd/courses/gg/201605_KIGAM/pdf/43-Utility_scripts.pdfU"lity programs and scripts M. A. Floyd T. A. Herring Massachuse(s Ins,tute](https://reader035.vdocument.in/reader035/viewer/2022081615/5fe0a658be09674cf371498a/html5/thumbnails/1.jpg)
U"lityprogramsandscripts
M.A.FloydT.A.HerringMassachuse(sIns,tuteofTechnology
GAMIT/GLOBK/TRACKShortCourseforGPSDataAnalysisKoreaIns"tuteofGeoscienceandMineralResources(KIGAM)
Daejeon,RepublicofKorea23–27May2016
MaterialfromT.A.Herring,R.W.King,M.A.Floyd(MIT)andS.C.McClusky(nowANU)
![Page 2: Ulity programs and scripts - GeoWebgeoweb.mit.edu/~floyd/courses/gg/201605_KIGAM/pdf/43-Utility_scripts.pdfU"lity programs and scripts M. A. Floyd T. A. Herring Massachuse(s Ins,tute](https://reader035.vdocument.in/reader035/viewer/2022081615/5fe0a658be09674cf371498a/html5/thumbnails/2.jpg)
Outline
• Organizing/pre-processing• Partofsh_gamit• Evalua"ngresults• Visualiza"on
2016/05/26 U"lityprogramsandscripts 2
![Page 3: Ulity programs and scripts - GeoWebgeoweb.mit.edu/~floyd/courses/gg/201605_KIGAM/pdf/43-Utility_scripts.pdfU"lity programs and scripts M. A. Floyd T. A. Herring Massachuse(s Ins,tute](https://reader035.vdocument.in/reader035/viewer/2022081615/5fe0a658be09674cf371498a/html5/thumbnails/3.jpg)
Guidetoscripts• Therearemanyscriptsinthe~/gg/comdirectoryandyoushould
with"melookatallthesescriptsbecausetheyo`encontainusefulguidesastohowtodocertaintasks.– Lookattheprogramsusedinthescriptsbecausetheseshowyouthe
sequencesandinputsneededfordifferenttasks– Scrip"ngmethodsareusefulwhenyouwanttoautomatetasksor
alloweasyre-genera"onofresults.– Lookfortemplatesthatshowhowdifferenttaskscanbe
accomplished.• ~/gg/kf/u"lsand~/gg/gamit/u"lscontainprogramsinvokedbythe
scriptsin/comorrundirectlyfromacommand-line.• Boththeshell-scriptsandtheu"lityprogramsareself-
documen"ng,invokedbytypingthenamewithoutanyarguments.
2016/05/26 U"lityprogramsandscripts 3
![Page 4: Ulity programs and scripts - GeoWebgeoweb.mit.edu/~floyd/courses/gg/201605_KIGAM/pdf/43-Utility_scripts.pdfU"lity programs and scripts M. A. Floyd T. A. Herring Massachuse(s Ins,tute](https://reader035.vdocument.in/reader035/viewer/2022081615/5fe0a658be09674cf371498a/html5/thumbnails/4.jpg)
GAMIT/GLOBKu"li"esOrganiza"ng/Pre-processing
sh_get_"mes:Liststart/stop"mesforallRINEXfiles
sh_upd_stnfo:Addentriestosta"on.infofromRINEXheaders
doy:Convertto/fromDOY,YYMMDD,JD,MJD,GPSW
convertc:Transformcoodinates(cartesian/geode"c/spherical)
glist:Listsitesforh-filesingdl;checkcoordinates,models
cortran/convertc:Translatecoordinatetypesandfileformats
corcom:Rotateanaprfiletoadifferentplateframe
unify_apr:Setequalveloci"es/coordinatesforglorgequates
glist2cmd:Createause_sitelistfromaglistfile
vel2stab:Createastab_sitelistfromavelocityorgfile
sh_dos2unix:RemovetheextraCRfromeachlineofafile
![Page 5: Ulity programs and scripts - GeoWebgeoweb.mit.edu/~floyd/courses/gg/201605_KIGAM/pdf/43-Utility_scripts.pdfU"lity programs and scripts M. A. Floyd T. A. Herring Massachuse(s Ins,tute](https://reader035.vdocument.in/reader035/viewer/2022081615/5fe0a658be09674cf371498a/html5/thumbnails/5.jpg)
GAMIT/GLOBKU"li"es(cont)Scriptsusedbysh_gamitbutusefulstand-alone
sh_get_rinex:`paRINEXofilefromremotearchives(`p_info)
sh_crx2rnx:convertto/fromRINEX/Hatanaka
sh_get_nav:`paRINEXnfilefromremotearchives
sh_get_met:`paRINEXmfilefromremotearchives
sh_get_hfiles:`ph-filesfromMIT/SOPAC
sh_update_eop:`panEOPfilefromIERS,createpmu,ut1.,wob.
sh_get_orbits:`pag-fileorsp3filefromremotearchives,call-->
sh_sp3fit:createag-ort-filefromansp3file(1-3days)
![Page 6: Ulity programs and scripts - GeoWebgeoweb.mit.edu/~floyd/courses/gg/201605_KIGAM/pdf/43-Utility_scripts.pdfU"lity programs and scripts M. A. Floyd T. A. Herring Massachuse(s Ins,tute](https://reader035.vdocument.in/reader035/viewer/2022081615/5fe0a658be09674cf371498a/html5/thumbnails/6.jpg)
GAMIT/GLOBK Utilities (cont)Evalua"ngresults
sh_oneway:Plotphaseresiduals(skymap;vseleva"on)[GMT]
sh_plotelmean:Eleva"onanglesaverageresidualsplots[GMT]
cview:Displayandmanipulatephaseresiduals[X-windows]
sh_plot_pos:Plotcoordinate"messeries[GMT]
sh_tshist:Plothistogramof"me-seriessta"s"cs[GMT]
tsview:Displayandmanipulatecoordinate"meseries[MATLAB]
sh_plotvel:Plotvelocitymaps[GMT]
sh_map_elements,sh_map_calif,sh_map_balkans,etc.
velview:Displayandmanipulatevelocitymaps[MATLAB]
sh_velhist:Plothistogramofvelocitysta"s"cs
sh_org2vel:Extractplate-referencedveloci"esfromglorgprintfile
velrot:Combinevelocityfieldsfromdifferentanalyses
![Page 7: Ulity programs and scripts - GeoWebgeoweb.mit.edu/~floyd/courses/gg/201605_KIGAM/pdf/43-Utility_scripts.pdfU"lity programs and scripts M. A. Floyd T. A. Herring Massachuse(s Ins,tute](https://reader035.vdocument.in/reader035/viewer/2022081615/5fe0a658be09674cf371498a/html5/thumbnails/7.jpg)
sh_plot_track
• Readstrack“NEU”,“DHU”or“XYZ”outputfile
• Mayaddsubplottoviewevolu"onofatmosphericdelay
2016/05/26 U"lityprogramsandscripts 7
![Page 8: Ulity programs and scripts - GeoWebgeoweb.mit.edu/~floyd/courses/gg/201605_KIGAM/pdf/43-Utility_scripts.pdfU"lity programs and scripts M. A. Floyd T. A. Herring Massachuse(s Ins,tute](https://reader035.vdocument.in/reader035/viewer/2022081615/5fe0a658be09674cf371498a/html5/thumbnails/8.jpg)
sh_kml
• Scriptforconver"ngseveralformatsofresultintoKMLformatforviewinginGoogleEarth– glist(mayalsobeusedwith"meslider)
– “.org”-file/“.vel”-file– track“GEOD”-formatoutputfile
2016/05/26 U"lityprogramsandscripts 8