Skip to content
Download wildfires data from NOAA satellites
Python Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
noaa_wildfires
.coveragerc
.gitignore
.travis.yml
LICENSE
MANIFEST.in
Makefile
Pipfile
Pipfile.lock
README.rst
setup.cfg
setup.py
test.py

README.rst

noaa_wildfires

Download wildfires data from NOAA satellites

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 .
You can’t perform that action at this time.