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 tests/data/720538-00164-2021
The Python API allows reading compressed and uncompressed ISD files:
from isd import Batch
batch = Batch.from_path("isd-file")
for record in batch:
print(record)
Streaming is also supported:
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.
- Create a Github release. This will trigger a new PyPI release.
Metadata
Release files for isd 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| isd-0.3.0.tar.gz | 9.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| isd-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.2 kB
Release files / isd-0.3.0.tar.gz
| Download URL | isd-0.3.0.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aa6763efeb8f25c2e83d5f445672d3868e5332a9d4479ff84e8a12b296af56bf
|
|
BLAKE2b-256 checksum How to use checksums |
062c2be8905839d8b23acd687369f02a5b939ce0c76f6663d62865604571c29f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / isd-0.3.0-py3-none-any.whl
| Download URL | isd-0.3.0-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0ef6f73ea619fbe17ae853dabbea95636038258568ed4c436d1ef79be3a0878b
|
|
BLAKE2b-256 checksum How to use checksums |
a46de61659aa51e6e3bc2356e0f3ff82af481cd6bac72228dbf9b86d13f3c41c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Security for isd 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.