Skip to content
Download latest active fire data from GeoMAC
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.
geomac_wildfires
.coveragerc
.gitignore
.travis.yml
LICENSE
MANIFEST.in
Makefile
Pipfile
Pipfile.lock
README.rst
setup.cfg
setup.py
test.py

README.rst

geomac-wildfires

Download wildfire data from GeoMAC

Installation

$ pipenv install geomac-wildfires

Command-line usage

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

  A command-line interface for downloading wildfire data from NASA
  satellites.

  Returns GeoJSON.

Options:
  --help  Show this message and exit.

Commands:
  active-fires  Download latest active fire perimeter data from GeoMAC
  nifc-sitrep  Download latest NIFC Sit Rep data from GeoMAC

Download latest active fire perimeter data from GeoMAC.

$ geomacwildfires active-fires
$ geomacwildfires nifc-sitrep

Python usage

Import the library.

>>> import geomac_wildfires

Download a GeoJSON of active fire perimeters from GeoMAC. Returns GeoJSON.

>>> data = geomac_wildfires.get_active_fires()

Download a GeoJSON of active fire points from NIFC Sit Rep from GeoMAC. Returns GeoJSON.

>>> data = geomac_wildfires.get_nifc_sitrep()

Contributing

Install dependencies for development.

$ pipenv install --dev

Run tests.:

$ make test

Shipping 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.