Download wildfires data from GeoMAC
Project description
Download wildfires data from GeoMAC
Installation
$ pipenv install geomac-wildfires
Command-line usage
Usage: geomacwildfires [OPTIONS] COMMAND [ARGS]... A command-line interface for downloading wildfire perimeter data from GeoMAC. Returns GeoJSON. Options: --help Show this message and exit. Commands: active-perimeters Perimeters of active fires in a recent 24-hour period all-perimeters Perimeters of all fires nifc-incidents Fire incident points from NIFC situation reports
Download data from GeoMAC.
$ geomacwildfires active-perimeters $ geomacwildfires all-perimeters $ geomacwildfires get-nifc-incidents
Python usage
Import the library.
>>> import geomac_wildfires >>> data = geomac_wildfires.get_active_perimeters() >>> data = geomac_wildfires.get_all_perimeters() >>> data = geomac_wildfires.get_nifc_incidents()
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.1.0.tar.gz
(3.6 kB
view hashes)
Built Distribution
Close
Hashes for geomac_wildfires-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45c72d0d2d38757f59c2e4c58df5a8ab599e4cca625da1f2836cdf428a72bf7e |
|
MD5 | 76adf8cfad2d1266c72148f806ea7df8 |
|
BLAKE2b-256 | 4fceed935cea4a777c6075ef038d088ed43012eb409a8fe8d75b300f0bd69463 |