Skip to main content

A Python wrapper to parallelize GAMIT executions

Project description

Parallel.GAMIT

A Python wrapper to manage GNSS data and metadata and parallelize GAMIT executions

Author: Demián D. Gómez

Parallel.GAMIT (PGAMIT) is a Python software solution for parallel GNSS processing of large regional or global networks. It 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 (see installation instructions) to obtain reliable daily a-priori coordinates for GAMIT.

The software can be installed as a Python package (see INSTALL.md) allowing to import modules to perform time series analysis and extraction of trajectory parameters from the database.

PGAMIT also includes a backend (see branch web-ui-backend) and web frontend (see branch web-ui-frontend) that can be easily deployed to edit station related metadata (such as observation files and pictures) and processing metadata. The backend was developed in django and the frontend was developed using node.js.

PGAMIT uses dispy (https://github.com/pgiri/dispy) to create Python pickles that are sent to local or remote nodes for execution. PGAMIT has the ability to split a network of GNSS stations into subnetworks for processing in GAMIT (when the network is larger than 50 stations, depending on PGAMIT'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 PGAMIT 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).

Some of the tasks that PGAMIT can perform include:

  • Scan a directory structure containing RINEX files and add them to the Postgres database.
  • 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 and GAMIT coordinates.
  • Plot PPP time series using Bevis and Brown's (2014) extended trajectory model.
  • Manage (i.e. add, merge, delete) GNSS stations.
  • Parse zenith tropospheric delays and store them in the database.
  • Stack the GAMIT solutions to produce regional or global reference frames following Bevis and Brown's (2014) and Gómez et al (2022).
  • Station name duplicate-tolerance by using a three-letter network code. Although this is not supported by GAMIT, PGAMIT 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, PGAMIT can handle very large datasets easily (it has been tested with ~ 14M station-days but Postgres can easily handle more than 100 million records). Also, the relational database guarantees then consistency of the data and does not allow accidental duplicates in metadata.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pgamit-1.2.23.tar.gz (4.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pgamit-1.2.23-py3-none-any.whl (376.8 kB view details)

Uploaded Python 3

File details

Details for the file pgamit-1.2.23.tar.gz.

File metadata

  • Download URL: pgamit-1.2.23.tar.gz
  • Upload date:
  • Size: 4.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pgamit-1.2.23.tar.gz
Algorithm Hash digest
SHA256 6eec1a670e3bea9987c3afffa5ffdc4a3c73625fd86ccee911cc0b8fcaf72ef3
MD5 34b16982271beba454f6bbaca22f51d5
BLAKE2b-256 d2ec3e28fc0af26d3ab4d049021151efcdeb372f95fb9d333bac8fb4340efd02

See more details on using hashes here.

Provenance

The following attestation bundles were made for pgamit-1.2.23.tar.gz:

Publisher: publish.yml on demiangomez/Parallel.GAMIT

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pgamit-1.2.23-py3-none-any.whl.

File metadata

  • Download URL: pgamit-1.2.23-py3-none-any.whl
  • Upload date:
  • Size: 376.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pgamit-1.2.23-py3-none-any.whl
Algorithm Hash digest
SHA256 7652292abe791bf89ed3f73f1ebb5e8891eadf1480440c953376f41a4e68bf08
MD5 14a9d5810a699443641c8b7e6dfb9838
BLAKE2b-256 feab1dca20ac4242a0d91c9538e6189be032c6c73fb3fde0e0495dfc7fb2c5d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pgamit-1.2.23-py3-none-any.whl:

Publisher: publish.yml on demiangomez/Parallel.GAMIT

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page