inciweb-wildfires

Download wildfire incidents data from InciWeb.

Installation

pipenv install inciweb-wildfires

Command-line usage

Usage: inciweb-wildfires [OPTIONS] COMMAND [ARGS]...

  A command-line interface for downloading wildfire incidents data from InciWeb.

  Returns GeoJSON.

Options:
  --help  Show this message and exit.

Commands:
  incidents  Download active fire incidents from InciWeb

Download active fire incidents from inciweb.

inciwebwildfires incidents

Python usage

Import the library.

import inciweb_wildfires

Download a GeoJSON of active fire incidents.

data = inciweb_wildfires.get_incidents()

Contributing

Install dependencies for development.

pipenv install --dev

Run tests.

pipenv run python test.py

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.

pipenv run pip install --editable .