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 .
$ pip install -r requirements-dev.txt
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 the CHANGELOG.
- Open a pull request with the changes.
- Merge the pull request once all required checks pass.
- Create an annotated tag.
- The tag must be named the same as the semver, e.g.
git tag -a v0.1.4. We use setuptools-scm to manage the package version so the tag name is very important. - The tag's contents should probably be the same information that was in the CHANGELOG for this version.
- The tag must be named the same as the semver, e.g.
- 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
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 isd-0.2.0.tar.gz.
File metadata
- Download URL: isd-0.2.0.tar.gz
- Upload date:
- Size: 1.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ef3450ff99bb1e4ef25e65b77a379b7c63b11575703ce84484956f220bf9918
|
|
| MD5 |
8dd3063284d97b460c11bd06843db3e0
|
|
| BLAKE2b-256 |
e128c7ec7cbde9411eedfbae7552fa0a3028cc913ff19587f6cc99ffc98afb6e
|
File details
Details for the file isd-0.2.0-py3-none-any.whl.
File metadata
- Download URL: isd-0.2.0-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1517609650201b432a95ebf36c89a58cc678ae508e1f1e56010419b70951b562
|
|
| MD5 |
c055bc5710d432ecfcaa5ffe57d78ea6
|
|
| BLAKE2b-256 |
23792c3ce2234d28641a09ee7353d7b01c28631fb0fbdfbdd92c3f22a74ee765
|