Reads and archives NOAA Integrated Surface Database (ISD) files
Project description
pyisd
Reads NOAA Integrated Surface Database (ISD) data.
Installation
pip install isd
Usage
There is a simple command line interface.
The isd record
command prints a single record in JSON format:
isd record 720538-00164-2021
The Python API allows reading compressed and uncompressed ISD files:
import isd.io
with isd.io.open("isd-file") as records_iterator:
records = list(records_iterator)
There is currently no parsing of the additional_data
section, but all mandatory fields are parsed out into appropriately-typed fields on a Record
.
Development
Install the development requirements and the package in editable mode:
pip install -e '.[dev]'
To run the unit tests:
pytest
Release
To cut a new release of pyisd (assuming you have the appropriate permissions):
- Create a new branch, e.g.
release/v0.1.4
. - Update pre-commit hooks:
pre-commit autoupdate
- Update the CHANGELOG and pyproject.toml.
- Open a pull request with the changes.
- Merge the pull request once all required checks pass.
- Create an annotated tag, e.g.
git tag -a v0.1.4
. - Push the annotated tag to github. This will trigger a new pypi release.
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
File details
Details for the file isd-0.2.1.tar.gz
.
File metadata
- Download URL: isd-0.2.1.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56114c0c6c937444b5dc961c8d76bf88f77be6cf38dca4e50f08e507484b5bfd |
|
MD5 | eeec3618b224e19a82a7aadbb33ee921 |
|
BLAKE2b-256 | 782f36d9d324a2ef7e5ccb15cbc048ec7f50bbedc86a4bdf5ef29f55d532715e |
File details
Details for the file isd-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: isd-0.2.1-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 739376f50ae5f3fe711007d5e20a4cbb4a6d7bde4cc8f90560035fea1e877d79 |
|
MD5 | ae8d158cd042df43785f29bcdf6833eb |
|
BLAKE2b-256 | 0ffe01fb3b7be72ba80abfdf8294be970cdb4c2e572512385ab5af4a227de27b |