Skip to main content

stactools package for NOAA''s Multi-Radar Multi-Sensor Quantitative Precipitation Estimation dataset

Project description

stactools-noaa-mrms-qpe

PyPI

A stactools package for NOAA's Multi-Radar Multi-Sensor (MRMS) Quantitative Precipitation Estimation (QPE) dataset.

This package can generate STAC files from (gzipped) GRIB2 files that link to the original GRIB2 files and/or to cloud-optimized GeoTiffs (COGs) in the original or any other EPSG projection.

STAC Examples

Installation

pip install stactools-noaa-mrms-qpe

Command-line Usage

Collection

Create a collection, e.g. 24-hour Pass 2:

stac noaa-mrms-qpe create-collection collection.json --period 24 --pass_no 2

Get information about all options for collection creation:

stac noaa-mrms-qpe create-collection --help

Item

Create an item for continentel US with a GRIB2 and COG asset:

stac noaa-mrms-qpe create-item MRMS_MultiSensor_QPE_24H_Pass2_00.00_20220530-120000.grib2.gz item_grib.json --collection collection.json

Create an item for ALASKA with only a COG asset converted to EPSG:3857:

stac noaa-mrms-qpe create-item MRMS_MultiSensor_QPE_24H_Pass2_00.00_20220530-120000.grib2.gz item.json --aoi ALASKA --collection collection.json --nogrib TRUE --epsg 3857

Get information about all options for item creation:

stac noaa-mrms-qpe create-item --help

Use stac noaa-mrms-qpe --help to see all subcommands and options.

Note: This package can only read files that contain the timestamp in the file name. It can NOT read the files that contain latest instead of a timestamp in the file name.

Contributing

We use pre-commit to check any changes. To set up your development environment:

$ pip install -e .
$ pip install -r requirements-dev.txt
$ pre-commit install

To check all files:

$ pre-commit run --all-files

To run the tests:

$ pytest -vv

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

stactools-noaa-mrms-qpe-0.1.1.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

stactools_noaa_mrms_qpe-0.1.1-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file stactools-noaa-mrms-qpe-0.1.1.tar.gz.

File metadata

File hashes

Hashes for stactools-noaa-mrms-qpe-0.1.1.tar.gz
Algorithm Hash digest
SHA256 119d3d33e56b2170eafbf8006c8dd40f4d798becd150c7cf0b7d6a40b9a45ebd
MD5 89c4cb80ffb28253910171de7bdc8089
BLAKE2b-256 24b80a8c917748a0df3cc83cacd6c1a443421cd734c675eb24872f1941a678bb

See more details on using hashes here.

Provenance

File details

Details for the file stactools_noaa_mrms_qpe-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for stactools_noaa_mrms_qpe-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2a4f6467635aa9584a5cf7333f37602cf6bf55e8d8c64e2c65fc43c1cf3f46b7
MD5 9e18306b8d151faaaed9ec4f9b61d8e3
BLAKE2b-256 34cb112c62e800c335c28cd6e1de8046df566218a3fbe1367a873b9ac078d80b

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