Skip to main content

Download wildfires data from NOAA satellites

Project description

Download wildfires data from NOAA satellites

Hourly scrapes powered by a GitHub Action are stored in the data directory.

Installation

pipenv install noaa-wildfires

Command-line usage

Usage: noaawildfires [OPTIONS] COMMAND [ARGS]...

  A command-line interface for downloading wildfires data from NOAA.

  Returns GeoJSON.

Options:
  --help  Show this message and exit.

Commands:
  hms-fires  The latest fires from Hazard Mapping System satellites
  hms-smoke  The latest smoke data from Hazard Mapping System satellites

Download the latest fires from Hazard Mapping System satellites.

noaawildfires hms-fires

Download the latest smoke data from Hazard Mapping System satellites.

noaawildfires hms-smoke

Python usage

Import the library.

>>> import noaa_wildfires

Download the latest fires from Hazard Mapping System satellites.

>>> data = noaa_wildfires.get_hms_fires()

Download the latest smoke data from Hazard Mapping System satellites.

>>> data = noaa_wildfires.get_hms_smoke()

Contributing

Install dependencies for development.

pipenv install --dev

Run tests.

make test

Ship new version to PyPI.

make ship

Developing the CLI

The command-line interface is implemented using Click and setuptools. To install it locally for development inside your virtual environment, run the following installation command, as prescribed by the Click documentation.

pip install --editable .

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

noaa-wildfires-0.0.3.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

noaa_wildfires-0.0.3-py2.py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 2 Python 3

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