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.21.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.21-py3-none-any.whl (376.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pgamit-1.2.21.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.21.tar.gz
Algorithm Hash digest
SHA256 f920807f6fd2dbe2cbaca1ce77936d05f02fb43aa96764450b87afa9bfc7fa12
MD5 798291e1b364a532e5d0b5c7bfda93de
BLAKE2b-256 ab255eebc087474748cc1e37cefe6e77d16d95fd16f8f803574b04554099fa13

See more details on using hashes here.

Provenance

The following attestation bundles were made for pgamit-1.2.21.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.21-py3-none-any.whl.

File metadata

  • Download URL: pgamit-1.2.21-py3-none-any.whl
  • Upload date:
  • Size: 376.5 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.21-py3-none-any.whl
Algorithm Hash digest
SHA256 baf1c8f77bbb20650b47db89931d933133c0d5447bd8fb00992c7e349cbcf1f9
MD5 0a0d8bbbba3e4b18751fa0a7a8e78805
BLAKE2b-256 96f53bd3ce08a495f57242cc7ef08c27385c6b7a8f8e345e597aef5b47c71c06

See more details on using hashes here.

Provenance

The following attestation bundles were made for pgamit-1.2.21-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