Awesome
stactools-goes-glm
- Name: goes-glm
- Package:
stactools.goes_glm
- PyPI: https://pypi.org/project/stactools-goes-glm/
- Owner: @m-mohr
- Dataset homepage:
- STAC extensions used:
- datacube (for netCDF only)
- GOES
- processing
- proj
- table (for geoparquet only)
- Extra fields:
- Prefix
goes:
: As defined in the GOES extension. All variables with valid scalar values / without dimensions are added to the Item properties with agoes:
prefix. The variable name is used as the property key after the prefix, e.g.goes:event_count
.
- Prefix
A stactools package for the Geostationary Lightning Mapper (GLM) dataset, which is on the GOES-16/R, GOES-17/S, and GOES-18/T satellites. GLM detects all forms of lightning during both day and night, continuously, with a high spatial resolution and detection efficiency.
This package can generate STAC files from netCDF files and that either link to the original netCDF files or to geoparquet files.
STAC Examples
- Collection
- Item (GOES-16/R)
- Item (GOES-17/S)
- Item (GOES-17/S (Test) before drifting to the final location)
- Item (GOES-18/T)
- Browse the example in a human-readable form
Installation
pip install stactools-goes-glm
Command-line Usage
Use stac goes-glm --help
to see all subcommands and options.
Collection
Create a collection:
stac goes-glm create-collection collection.json --license=https://www.ncei.noaa.gov/access/metadata/landing-page/bin/iso?id=gov.noaa.ncdc:C01527
Get information about all options for collection creation:
stac goes-glm create-collection --help
Item
Create an item with a netCDF and multiple geoparquet asset:
stac goes-glm create-item OR_GLM-L2-LCFA_G16_s20203662359400_e20210010000004_c20210010000030.nc item.json --collection collection.json
Create an item with only geoparquet assets:
stac goes-glm create-item OR_GLM-L2-LCFA_G17_s20221542100000_e20221542100200_c20221542100217.nc item.json --collection collection.json --nonetcdf TRUE
Get information about all options for item creation:
stac goes-glm create-item --help
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