Skip to content

jimmyangel/getMTBS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

getMTBS - Retrieve MTBS data for a given state and a publication year

This utility pulls wildfire severity data from MTBS. The data is used to populate the OregonHOWL History of Wildfire Severity spotlight.

If available, the utility will use a spatial query that uses state boundaries, otherwise, it will pull all the records where the id is prefixed with the state code. Spatial queries should be stored as a GeoServer WFS POST request body.

NOTE: This utility requires the command "zip" to be available in the system (standard in macOS and Linux)

Usage:
  getMTBS.js [OPTIONS] [ARGS]

Options:
  -s, --state [STRING]   State (Default is OR)
  -y, --year [STRING]    Year (Default is 2017)
  -d, --dest [FILE]      Destination directory (Default is MTBS)
  -l, --log [STRING]     Log level (Default is info)
  -m, --max [NUMBER]     Max number of records (for debug only) (Default is Infinity)
  -q, --sq [STRING]      Directory of spatial queries (Default is squeries)
  -h, --help             Display help and usage details

Examples:

node getMTBS.js

Gets data for all wildfires reported in the state of Oregon from 1984 to 2017. The list of wildfires will be saved in the ./MTBS directory in geojson as MTBS.json. In addition, under ./MTBS/kmz/ there will be a .kmz file for every wildfire which includes an image overlay with the result of the fire severity analysis conducted by MTBS.

node getMTBS.js -s ID -d MTBS_ID

Gets data for all wildfires reported in the state of Idaho from 1984 to 2017. The list of wildfires will be saved in the ./MTBS_ID directory in geojson as MTBS.json. In addition, under ./MTBS/kmz/ there will be a .kmz file for every wildfire which includes an image overlay with the result of the fire severity analysis conducted by MTBS.

About

Retrieve MTBS fire records

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published