All Projects → demiangomez → Parallel.GAMIT

demiangomez / Parallel.GAMIT

Licence: GPL-3.0 license
Python wrapper to parallelize GAMIT executions

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects
javascript
184084 projects - #8 most used programming language
TeX
3793 projects
CSS
56736 projects
matlab
3953 projects

Projects that are alternatives of or similar to Parallel.GAMIT

multi-sdr-gps-sim
multi-sdr-gps-sim generates a IQ data stream on-the-fly to simulate a GPS L1 baseband signal using a SDR platform like HackRF or ADLAM-Pluto.
Stars: ✭ 53 (+140.91%)
Mutual labels:  gps, rinex
Database-Web-API
Dynamically generate RESTful APIs from the contents of a database table. Provides JSON, XML, and HTML. Supports most popular databases
Stars: ✭ 37 (+68.18%)
Mutual labels:  postgres
pg migrate
Manage postgres schema, triggers, procedures, and views
Stars: ✭ 25 (+13.64%)
Mutual labels:  postgres
mujoco
Python wrapper for MuJoCo physics simulation.
Stars: ✭ 12 (-45.45%)
Mutual labels:  python-wrapper
agent
Job tracker & performance platform
Stars: ✭ 26 (+18.18%)
Mutual labels:  postgres
telegram-nearby-map
Discover the location of nearby Telegram users 📡🌍
Stars: ✭ 329 (+1395.45%)
Mutual labels:  gps
terraform-aws-druid
Terraform module to deploy Apache Druid in Kubernetes
Stars: ✭ 16 (-27.27%)
Mutual labels:  postgres
postgres
A PostgreSQL database used by Deis Workflow.
Stars: ✭ 37 (+68.18%)
Mutual labels:  postgres
Commando
[DEPRECATED] ⚫ Commando Discord bot built on discord.js-commando.
Stars: ✭ 78 (+254.55%)
Mutual labels:  postgres
libpq.framework
An XCode project to compile your own libpq.framework for iOS 11.x
Stars: ✭ 27 (+22.73%)
Mutual labels:  postgres
web-scraping-engine
A simple web scraping engine supporting concurrent and anonymous scraping
Stars: ✭ 27 (+22.73%)
Mutual labels:  parallel
hatrack
Fast, multi-reader, multi-writer, lockless data structures for parallel programming
Stars: ✭ 55 (+150%)
Mutual labels:  parallel
postgres-nest-react-typescript-boilerplate
No description or website provided.
Stars: ✭ 93 (+322.73%)
Mutual labels:  postgres
wait-for-pg
Check if PostgreSQL database is ready
Stars: ✭ 22 (+0%)
Mutual labels:  postgres
Data-Engineering-Projects
Personal Data Engineering Projects
Stars: ✭ 167 (+659.09%)
Mutual labels:  postgres
docker-postgresql-pro-1c
Dockerfile для сборки PostgreSQL под 1С:Предприятие 8
Stars: ✭ 27 (+22.73%)
Mutual labels:  postgres
pg-error-enum
TypeScript Enum for Postgres Errors with no runtime dependencies. Also compatible with plain JavaScript.
Stars: ✭ 18 (-18.18%)
Mutual labels:  postgres
node-nmea
Parser for NMEA sentences.
Stars: ✭ 23 (+4.55%)
Mutual labels:  gps
event-machine-skeleton
Dockerized skeleton for prooph software Event Machine
Stars: ✭ 34 (+54.55%)
Mutual labels:  postgres
gobarber-api-gostack11
API GoBarber / NodeJS / Express / Typescript / SOLID
Stars: ✭ 39 (+77.27%)
Mutual labels:  postgres

Parallel.GAMIT

Author: Demián D. Gómez

A Python wrapper to parallelize GAMIT executions.

Parallel.GAMIT is a Python software solution for parallel GPS processing of large regional or global networks. It also incorporates a metadata and RINEX data management tool that guarantees a consistent archive. It relies on Postgres SQL (https://www.postgresql.org/) to store station metadata and the GPSPACE Precise-Point-Positioning (PPP) software (not included in this repository, available here: https://github.com/CGS-GIS/GPSPACE) to obtain reliable daily a-priori coordinates for GAMIT.

The software is divided into two modules: Parallel.GAMIT (PG) and Parallel.PPP (PP). PG requires all GAMIT-GLOBK (http://www-gpsg.mit.edu/~simon/gtgk/) dependencies installed in the processing nodes. PP requires GPSPACE PPP and several other dependencies detailed later in this document. Although PP was designed to use GPSPACE PPP, it can be easily changed to use any other open source PPP software such as RTKLIB (http://www.rtklib.com/), although this has not been tested.

PG uses dispy (https://github.com/pgiri/dispy) to create Python pickles that are sent to local or remote nodes for execution. PG has the ability to split a network of GPS stations into subnetworks for processing in GAMIT (when the network is larger than 50 stations, depending on PG's configuration). The parallel execution is performed per day-subnetwork. In other words, a GAMIT pickle is built for each subnetwork-day being processed and sent to the available nodes. At the end of each PG run, the subnetworks are combined with GLOBK and inserted as records in the Postgres database for later use. Some routines (such as the SINEX parser) are modified versions of the code from @softwarespartan (https://github.com/softwarespartan).

PP is a Python wrapper for the PGSPACE PPP which uses the same Postgres SQL database to store the daily PPP solutions and medatadata of all station-days in the GPS archive. Some of the abilities of PP are:

  • Scan a directory structure containing RINEX files and add them to the Postgres database (DB).
  • Manage station metadata in GAMIT's station info format with consistency check of the records.
  • Add new RINEX data to the database by geolocation, i.e. the data is incorporated not by station name but by running PPP and finding the corresponding station in the DB. This avoids problems with duplicate station codes and misidentified RINEX files.
  • Handle ocean loading coefficients to correct the PPP coordinates and produce consistent time series before running GAMIT. This allows to find problems in the metadata BEFORE executing a long GAMIT run.
  • Plot PPP time series using Bevis and Brown's (2014) extended trajectory model.
  • Merge stations with different names that in reality are the same station (but renamed or moved a couple of meters), if desired.
  • Merge, delete and add metadata directly from GAMIT station info files or using UNAVCO's GSAC (https://www.unavco.org/software/data-management/gsac/user-info/user-info.html).
  • Parse all ZTD results and store them in the database.
  • Stack the GAMIT solution to produce regional or global reference frames following Bevis and Brown's (2014).
  • Both PP and PG tolerate station name duplicates by using a three-letter network code. Although this is not supported by GAMIT, PG converts duplicate station codes (stored in different networks) to unique IDs that are used during processing, which are later converted back to the original names after the GLOBK combination of the subnetworks.
  • Because all the information is stored in a relational database, PP and PG can handle very large datasets very easily (it has been tested with ~ 5,600,000 station-days but Postgres can easily handle more than 10 million records in a regular computer). Also, the relational database guarantees then consistency of the data and does not allow accidental duplicates in metadata.

PG and PP require the following dependencies:

  • Python version > 3
  • GAMIT-GLOBK: although PP does not use GAMIT to process data, it relies on grdtab, otl.grid and sh_rx2apr to obtain the ocean loading coefficients and station coordinates (when PPP fails to process a station-day). Bare in mind that sh_rx2apr needs the following dependencies to run in a computer without GAMIT installed: svdiff, svpos, tform, sh_rx2apr, doy
  • gfzrnx: RINEX quality check and conversion tool which supports RINEX 3.
  • pygressql: Python interface to connect to Postgres
  • tqdm: a Python progress bar to show the processing progress
  • rnx2crx: RINEX to CRINEX
  • crx2rnx: CRINEX to RINEX
  • crz2rnx: this is a script modified by me which is based on the the scripts found in http://terras.gsi.go.jp/ja/crx2rnx.html with a few minor tweaks to handle the most common problems found in CRINEZ files.
  • rnx2crz: the regular C-shell script
  • compress/gzip
  • dispy to schedule parallel jobs
  • matplotlib
  • numpy
  • scandir
  • Neicio: the USGS NEIC Python interface and its dependencies found in https://github.com/usgs/neicio
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].