PC-CORA sounding data files parser for Python
Project description
PC-CORA parser for Python. Supports the format described here https://badc.nerc.ac.uk/data/ukmo-rad-hires/pc-coradata.html (2015-12-05).
This format is used for [radiosonde data](https://badc.nerc.ac.uk/data/ukmo-rad-hires/). According to Wikipedia,
“A radiosonde (Sonde is French and German for probe) is a battery-powered telemetry instrument package carried into the atmosphere usually by a weather balloon that measures various atmospheric parameters and transmits them by radio to a ground receiver.”
History
I was asked by a co-worker to look at some Python code with a PC-CORA parser. However, he also needed some further work on finding these files and outputting the contents as CSV. Decided to write a module for PC-CORA inspiredby the original script [1], using Python3, OO and packing as a Python package to be distributed to the PYPI <https://pypi.python.org/pypi>.
Example
>>> from pccora import PCCORAParser >>> pccora_parser = PCCORAParser() >>> pccora_parser.parse_file('./123456789.EDT') >>> print(pccora_parser.get_header()) >>> print(pccora_parser.get_identification()) >>> print(pccora_parser.get_data())
Requirements
Python 2 or Python 3, and the construct library <https://github.com/construct/construct>.
License
Licensed under the MIT License.
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
Built Distribution
File details
Details for the file pccora-0.0.1.tar.gz
.
File metadata
- Download URL: pccora-0.0.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02f3ff7bbd8d971ca801ede0783f3bef8aeef63ace634bf7ce5e024af978fa2a |
|
MD5 | 0357fc0df70104b3d233a0a8adba6657 |
|
BLAKE2b-256 | e7572fadeba24a2279e9800b0ba4f59ae5e3e7b8505d249af10ebe0fc1e201fb |
File details
Details for the file pccora-0.0.1-py2-none-any.whl
.
File metadata
- Download URL: pccora-0.0.1-py2-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b94eb9a903bad48078e8ca9a73283c9ce9aca44c4e84b6a1a8805f5cbf7418b2 |
|
MD5 | 4497c2e5180a87858631bd3c44e8189e |
|
BLAKE2b-256 | 1a3ce40a24d773d4838975762aa6d67773dcd76c43483b247165cec63a9d7aa6 |