Download latest fire perimeters from GeoMAC
Project description
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 .
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
geomac-wildfires-0.0.9.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for geomac_wildfires-0.0.9-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4d79a2be10f7abb663ef06ec816899ac99a5f563923ca2abc877279a17518fa |
|
MD5 | 7e38d4b2e8abed3a6edde2a5099d2783 |
|
BLAKE2b-256 | db21ba0994d7a7cabcf480d08667aba3ea911356f806af6705543b3aded701d6 |