Utility Programs and Scripts

Slides:



Advertisements
Similar presentations
Utility programs and scripts Thomas Herring
Advertisements

Basics of GPS processing workflow
Generating velocity solutions with globk
Guide To UNIX Using Linux Third Edition
Generating time series with glred
Utility programs and scripts Thomas Herring
Introduction to UNIX GPS Processing and Analysis with GAMIT/GLOBK/TRACK T. Herring, R. King. M. Floyd – MIT UNAVCO, Boulder - July 8-12, 2013 Directory.
Large-scale cGPS processing and prototyping solutions
Linux Operations and Administration
Chapter Four UNIX File Processing. 2 Lesson A Extracting Information from Files.
Generating time series with glred
Principles of the Global Positioning System Lecture 20 Prof. Thomas Herring Room A;
Agenda Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Review next lab assignments Break Out Problems.
SOPAC Reanalysis for SNARF and Web-based Analysis Tools Yehuda Bock, Peng Fang, Linette Prawirodirdjo, Paul Jamason, Ruey-Juin Chang, Ian Macleod, George.
Generating velocity solutions with GLOBK T. A. Herring R. W. King M. A. Floyd Massachusetts Institute of Technology GPS Data Processing and Analysis with.
Utility programs and scripts T. A. Herring R. W. King M. A. Floyd Massachusetts Institute of Technology GPS Data Processing and Analysis with GAMIT/GLOBK/TRACK.
GAMIT/GLOBK Utilities 1.Organization/Pre-processing sh_get_times: List start/stop times for all RINEX files sh_upd_stnfo: Add entries to station.info from.
Data Organization Quality Assurance and Transformations.
5/18/2994G21D-04 Spring AGU Realization of a Stable North America Reference Frame Thomas Herring Department of Earth Atmospheric and Planetary, Sciences,
Chapter Linux Basics. Acknowledgements This presentation was prepared by – Banyat Settapanich – Bahran Madaen This presentation will be updated later.
Lesson 6-Using Utilities to Accomplish Complex Tasks.
Aug 6, 2002APSG Irkutsk Contemporary Horizontal and Vertical Deformation of the Tien Shan Thomas Herring, Bradford H. Hager, Brendan Meade, Massachusetts.
09/24/2008Unavco Track Intro1 TRACK: GAMIT Kinematic GPS processing module R King overview from longer T Herring.
Contemporary Horizontal and Vertical Deformation of the Tien Shan
Utility programs and scripts
Generating time series with glred
Generating velocity solutions with GLOBK
Generating time series with glred
Utility programs and scripts
Generating velocity solutions with GLOBK
Basics of processing workflow for GAMIT/GLOBK
Utility programs and scripts
GLOBK Velocity Solutions
Introduction to UNIX Directory structure and navigation
Installing GAMIT-GLOBK
Introduction to Computers
Basics of GPS processing workflow
WGS-84 Seminar and Workshop
Tuning AUTCLN for editing
GAMIT/GLOBK Utilities
Generating time series with glred
Understanding what sh_gamit does
Guide To UNIX Using Linux Third Edition
Generating velocity solutions with globk
Introduction to GAMIT/GLOBK
Kinematic Data Processing
Plotting and Analysis Programs
Overview of sh_gamit / sh_glred processing
Overview of sh_gamit / sh_glred processing
Track Output Interpretation
Automatic Processing with GAMIT
User Controllable Options in GAMIT
Large continuous network processing and analysis
Large continuous network processing and analysis
Automatic Processing with GLOBK
GLOBK Velocity and Coordinate Solutions
Track Output Interpretation
Using GLOBK and its Associated Programs
Utility programs and scripts
Utility programs and scripts
Generating velocity solutions with globk
M. A. Floyd Massachusetts Institute of Technology, Cambridge, MA, USA
Generating time series with glred
Generating time series with glred
GAMIT/GLOBK Utilities
Generating velocity solutions with globk
Basics of processing workflow for GAMIT/GLOBK
M. A. Floyd Massachusetts Institute of Technology, Cambridge, MA, USA
Basics of processing workflow for GAMIT/GLOBK
Large continuous network processing and analysis
Presentation transcript:

Utility Programs and Scripts Instillation File conversions Plotting Analysis tools

Utility packages in gamit/globk The utilities are located to three places: ~/gg/com shell scripts ~/gg/kf/utils programs ~/gg/gamit/utils programs Use ‘ls’ on above to list, ‘grep #doc *’ in /com to get one-line description of scripts Nearly all of the utilities and shell scripts are self documenting 27-Dec-18 GAMIT/GLOBK Tutorial 12

installation scripts sh_get_ftp_info - give ftp addresses install_software - installs software install_updates - installs updates Updates from bowie.mit.edu ftp/pub/gps/updates/incremental_updates make_gamit - remakes gamit package make_globk -remake globk package make_libraries - remakes libraries rmfresh - removes all executables and object modules from gamit/globk directories 27-Dec-18 GAMIT/GLOBK Tutorial 12

Data archiving scripts sh_archive_soln - Saves main files from gamit day directory in archive structure sh_casefold - changes the case of file names either to upper (u) or to lower (d) sh_cleanup - Cleans up day directories by compression and deletion sh_crx2rnx - converts Hatinaka compressed files to rinex sh_rnx2cxr - converts rinex to Hatinaks compressed sh_dos2unix - Converts dos text files to Unix 27-Dec-18 GAMIT/GLOBK Tutorial 12

Plot generation sh_enf_to_vel - converts ensum and enfit summary files to standard globk velocity file format. Allows plotting of globk direct velocity estimates with time series velocity estimates sh_gamit_atmos - plots the atmospheric delays from gamit solutions sh_gamit_baseline - plots baseline from gamit solutions rather than globk solutions 27-Dec-18 GAMIT/GLOBK Tutorial 12

Plot generation (continued) sh_glist_gmt - Allows plotting of distribution of stations in times sh_globk_scatter - plots baseline scatter as function of baseline length sh_histogram - plots histogram of position residuals sh_plot_profile - used in conjunction with program profile to plot velocities projected on to a profile. 27-Dec-18 GAMIT/GLOBK Tutorial 12

Plot generation (continued) sh_plotcrd - plots coordinates as a function of time sh_plotvel - draws velocity arrows on a map sh_baseline - shows relative postion vectors as a function of time 27-Dec-18 GAMIT/GLOBK Tutorial 12

File transfer scripts sh_get_hfiles - gets ascii hfiles from SOPAC (usually igs1, igs2, igs3 the three global networks) sh_get_nav - gets navigation files (*.YYn files) from archives sh_get_orbits - gets orbits either sp3 or gamit g-files (SOPAC only) sh_get_raw - Gets raw data for selected sites from SOPAC sh_get_rinex - Gets rinex data from cddis, sopac or unavco sh_get_stinfo - Gets updated station.info from sopac for the global network 27-Dec-18 GAMIT/GLOBK Tutorial 12

Conversion sh_glbtosnx - shell to convert binary hfiles to sinex (uses glbtosnx) sh_l_to_xyz - converts gamit l-lfile to XYZ files sh_svdiff - Differential positioning using pseudoranges sh_svpos - Point positioning using pseudoranges 27-Dec-18 GAMIT/GLOBK Tutorial 12

Globk utilities ~/gg/kf/utils These are all programs (directory contains source code) These programs are self documenting 27-Dec-18 GAMIT/GLOBK Tutorial 12

Conversion programs apr_to_vel - converts a globk apr file to velocity format (sigmas are zero) doy - doy converts dates to various formats: ***TODAY*** IS: Date 2002/01/31 20:38 hrs, DOY 31 JD 2452306.3601 MJD 52305.8601 GPS Week 1151 Day of week 4, GPS Seconds 345600 Day of Week Thu Decimal Year 2002.08455 gapr_to_l - converts globk apriori file to gamit lfile format unify_apr - Allows removal of extra stations, changes of positions and velocities in globk apriori files. 27-Dec-18 GAMIT/GLOBK Tutorial 12

Binary h-files and gfiles swaph -- switches big-endian to little-endian and visa-versa (needed to use SGI binary hfiles on Linux systems) glbtog -- creates gamit g-files from globk solution with orbits glbtosnx – creates a SINEX file from a globk binary h-file; run with ‘-h’ option to get a ascii version of the h-file header 27-Dec-18 GAMIT/GLOBK Tutorial 12

Velocity field manipulation genrelref - Takes standard velocity field file and generates one as difference from site in list (similar to getrel except does not require org file with BRAT on. Uses velocity files themselves. Sigmas may be overestimated. velcom - Allows comparison of many velocities files. produces average values and RMS of values velrot - Allows velocity fields in different frames to be compared 27-Dec-18 GAMIT/GLOBK Tutorial 12

Summary Utilities do lots of different tasks Often you can use them as template to make your own scripts 27-Dec-18 GAMIT/GLOBK Tutorial 12