Skip to main content

Reads and archives NOAA Integrated Surface Database (ISD) files

Project description

pyisd

Reads NOAA Integrated Surface Database (ISD) data.

CI PyPI Documentation Status

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):

  1. Create a new branch, e.g. release/v0.1.4.
  2. Update the CHANGELOG.
  3. Open a pull request with the changes.
  4. Merge the pull request once all required checks pass.
  5. 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.
  6. Push the annotated tag to github. This will trigger a new pypi release.

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

isd-0.1.5.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

isd-0.1.5-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file isd-0.1.5.tar.gz.

File metadata

  • Download URL: isd-0.1.5.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for isd-0.1.5.tar.gz
Algorithm Hash digest
SHA256 5c25cd0f774f943f8aaf59226b4599111c11eb9e694ab8166ef370aa4345d1ec
MD5 8d77337632e7e7bff79e811413c2b8f7
BLAKE2b-256 cb36f76e25ab62efc593469c6f6c87d4c74ccfe0d480fbc04d62047f967c5aa5

See more details on using hashes here.

Provenance

File details

Details for the file isd-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: isd-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for isd-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e5cf1a3abc3f61f93d0d528944446ac6f4dcf8c63c8ac61feeb1eda17c16e202
MD5 d6426de37559c9fa1a2f8674dcd7884f
BLAKE2b-256 e4bea35db42f9953853c34789ed163f6993ef941b10b5a40b0e4fe2861205f22

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page