stactools package for NOAA''s Multi-Radar Multi-Sensor Quantitative Precipitation Estimation dataset
Project description
stactools-noaa-mrms-qpe
- Name: noaa-mrms-qpe
- Package:
stactools.noaa_mrms_qpe
- PyPI: https://pypi-hypernode.com/project/stactools-noaa-mrms-qpe/
- Owner: @m-mohr
- Dataset homepage: https://mrms.nssl.noaa.gov
- STAC extensions used:
- Extra fields:
- See the NOAA MRMS QPE extension for details
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
Built Distribution
File details
Details for the file stactools-noaa-mrms-qpe-0.3.0.tar.gz
.
File metadata
- Download URL: stactools-noaa-mrms-qpe-0.3.0.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a5b356b24a136d8ef286307aa8bc046229320568c54d5302ef30d50fc80c800 |
|
MD5 | a9435a541bc88082e6d3897ee6a2f27a |
|
BLAKE2b-256 | 6fdb9f718b9ef3ceb10f8bc852d5f61f45add9125f3097d512605a49c5e87774 |
Provenance
File details
Details for the file stactools_noaa_mrms_qpe-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: stactools_noaa_mrms_qpe-0.3.0-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3790134f8647aecc031785fed51c03f3b20bb25dd6acb8b874d91b4e0cc2ebc2 |
|
MD5 | 57efe014dbeda95f7cab788d04669454 |
|
BLAKE2b-256 | a2f772be039d6256f9740c4d65bbcaf0404d55a25b7ba0e82a86649bd70a2a8e |