Skip to main content

Download wildfires data from NIFC

Project description

Download wildfires data from GeoMAC

https://travis-ci.org/datadesk/geomac-wildfires.svg?branch=master

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


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.14.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

geomac_wildfires-0.1.14-py2.py3-none-any.whl (4.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file geomac-wildfires-0.1.14.tar.gz.

File metadata

  • Download URL: geomac-wildfires-0.1.14.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2

File hashes

Hashes for geomac-wildfires-0.1.14.tar.gz
Algorithm Hash digest
SHA256 3547eacb9888f28cae688ae9a396270ce5be9e399f2e89ee1dcc4fc3b86477ba
MD5 4c627c84ea2968db9e06cfaf3c18e053
BLAKE2b-256 4d7a1a06da49bb24f83521175380303199134180e3713bb43189b7ffd63c0718

See more details on using hashes here.

File details

Details for the file geomac_wildfires-0.1.14-py2.py3-none-any.whl.

File metadata

  • Download URL: geomac_wildfires-0.1.14-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2

File hashes

Hashes for geomac_wildfires-0.1.14-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ce115cfa58f28bdf170644138c7da284a3b65e1d5374a68a7c95e65e578820fe
MD5 07c553bc110e10579d59d61a85f8bd3c
BLAKE2b-256 e686a566ed6eedb71d521b3db780d4e5de6b7f325bce5d0351f7ef1d12f70303

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page