A Python IGRA v2 parser
Project description
pigra
What is it ?
A Python parsing library for the IGRA v2 format.
Key Features
- parses IGRA data according to the IGRAv2 specifications
- defines a clean Sounding data-structure easy to work with
- streams records (don't operate the whole dataset in memory)
- handles incoming data from standard input (default), text file and compressed file (gz/zip)
- allows to filter soundings by providing your own function (including geoboxing)
- outputs to JSON format and human-readable headers
- computes statistics
- no dependencies
- unit-tested
Where to get it
The source code is currently hosted on GitHub at : https://github.com/pixel-ports/pigra
Binary installer for the latest released version is available at the Python package index.
pip install pigra
Usage
Use it as a library from your code.
Or basically from command line.
cat igra-data.txt | python -m pigra > output.json
License
Documentation
Have a look at the examples directory.
Background
Work on pigra started at Orange in 2019 for the needs of the PIXEL european project.
Funding
pigra has been developed as part of the PIXEL project, H2020, funded by the EC under Grant Agreement number 769355.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pigra-1.0.2.tar.gz.
File metadata
- Download URL: pigra-1.0.2.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a722b29b1edaa8f39c45b6cf01bef484bf2d16783573431e2fcb79440b44bad
|
|
| MD5 |
57ed81f7e4089ccd8824d2f4e5e08f8c
|
|
| BLAKE2b-256 |
fa9bc9baa821df04df297053c0b07fe73e46fd24b9ca1b17cedc22a227db9d7a
|
File details
Details for the file pigra-1.0.2-py3-none-any.whl.
File metadata
- Download URL: pigra-1.0.2-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6794131fb8f3a45dbaf556088f80c5fbe3366df7d01dbdb3f5bda63c0ab653f4
|
|
| MD5 |
680bf68dea15222e3e07f7ce01d28190
|
|
| BLAKE2b-256 |
f2f1a68cde7181af88a0801a3350afc19ea5ba4deb39b943431ee9366d2c9f09
|