FIREDpy - FIRe Event Delineation for Python

April 29, 2026 · View on GitHub

DOI

Docker Automated build GitHub contributors GitHub issues GitHub commit activity pytests Coverage

FIREDpy - FIRe Event Delineation for Python

A Python Command-Line Interface for classifying fire events from the Collection 6 MODIS Burned Area Product.

This package uses a space-time window to classify individual burn detections from late 2001 to near-present into discrete events and return both a data table and shapefiles of these events. The user is able to specify the spatial and temporal parameters of the window, as well as the spatial and temporal extent, using either a shapefile or a list of MODIS Sinusoidal Projection tile IDs. Countries, continents and US states are included. Any area from the world may be selected. However, in the current version, memory constraints may limit the extent available for a single model run. Equatorial regions have much more fire activity, and may require much more RAM to process than a normal laptop will have.

The algorithm outputs shapefiles of delineated fire events in either .shp or .gpkg format. In addition to the full event polygons created by default, and the user has the option of having firedpy produce daily-level perimeters, providing a representation of both final and expanding event perimeters.

image

Illustration of the event-level and daily-level output of FIREDpy for the 2013 Rim Fire in California. Figure is from Mahood et al. 2022.

The MODIS Sinusioidal Grid

In general, the area of intrest for which FIREDpy creates fire perimter products is specified with a shapefile. However, one may also specify study areas for FIREDpy using individual MODIS tiles. This product uses a Sinusoidal, Lambert Azimuthal Equal-Area projection. For more information about this projection, see https://modis-land.gsfc.nasa.gov/MODLAND_grid.html.

image

Illustration of the MODIS sinusoidal projection and the tile system in which the data are stored. The MODIS satellites cover the entire earth's surface multiple times a day, but the tiles shown here are those in which the MCD64A1 product is generated, which FIREDpy then processes into fire event perimeters. Figure is from Mahood et al. 2022.

FIREDpy citations

Methodological information for FIREDpy 1.0:

Balch, J. K., St. Denis, L. A., Mahood, A. L., Mietkiewicz, N. P., Williams, T. W., McGlinchy J, and Cook, M. C. 2020. FIRED (Fire Events Delineation): An open, flexible algorithm & database of U.S. fire events derived from the MODIS burned area product (2001-19). Remote Sensing, 12(21), 3498; https://doi.org/10.3390/rs12213498

Description of the 2000 - 2021 data sets:

Mahood, A.L. Lindrooth, E.J., Cook, M.C. and Balch, J.K. 2022. Country-level fire perimeter datasets (2001-2021). Nature Scientific Data, 9(458). https://doi.org/10.1038/s41597-022-01572-3

Methodological information for FIREDpy 2.0, description of 2000-2025 datasets:

Coming soon...

Data Sharing Agreement

FIREDpy is currently in active development, and newer versions of the algorithm and data products are shared on an individual basis. All data products generated from unpublished versions of FIREDpy require permission from PI Jennifer K. Balch prior to use in publications, presentations, or public dissemination. These conversations ensure appropriate acknowledgment of the development team's contributions and proper context for the algorithm's current capabilities and limitations. Please use the above citation for attributing credit. For data requests or collaboration inquiries, please contact Nate Hofford (nate.hofford@colorado.edu), University of Colorado Boulder.

Changes

  • 10/14/2024 FIREDpy V2.0
    • No longer using setup.py. See new instructions below for running it with Docker or installing it locally.
    • Improved fire grouping
    • Improved CLI
    • Access to MODIS burn area product Version 6.1

BUG ALERT:

Many of the data products created in Fall 2021 may be shifted by a half pixel, and may lack a coordinate reference system.

The problem is now fixed, so this will not affect new iterations of firedpy.

Sometimes the server that houses the MCD64A1 product used by firedpy is down. If this happens, you just need to wait until it comes back up.

See the issues tab for more bugs, or to report a new bug!

Have you used firedpy?

The algorithm and derived data products are under active development. Please raise an issue with any suggestions to help us improve firedpy. Or just email admahood@duck.com and Adam will be overjoyed to talk about firedpy.

Current status of created products

Already-created products are linked below. They are housed in the CU Scholar data repository in the Earth Lab Data collection, or here.

All of the created products have an event-level shapefile in .gpkg and .shp formats. Most countries also have the daily-level shapefile for the V2024 products, but for the V2022 products these were not created for most countries in Africa and Asia due to computational restrictions.

Firedpy version1.02.02.1
RegionCountryVersion 2022var (variable space-time parameters)Version 2024f (1 pixel 5 days for everything)Version 2025var (variable ST parameters)
North America
BelizeNov 2000 - July 2024
Canada2001-20212001-2024
Costa RicaNov 2000 - July 2024
El SalvadorNov 2000 - July 2024
GuatemalaNov 2000 - July 2024
HondurasNov 2000 - July 2024
MexicoNovember 2000 - July 2024
NicaraguaNovember 2000 - July 2024
PanamaNovember 2000 - July 2024
USA plus Canada2001-2021November 2000 - July 2024
USA: Coterminous + Alaska2001-2021November 2001- July 2024
USA: Hawaii2001-2021November 2000 - December 2024
Mexico and Central AmericaBelize, Guatemala, Honduras, El Salvador, Nicaragua, Costa Rica, Panama2001-2021
Carribean Sea
Whole regionBarbados, Bahamas, Cayman Islands, Cuba, Dominican Republic, Haiti, Jamaica, Montserrat, Puerto Rico, Saint Kitts And Nevis, Trinidad And Tobago, British Virgin Islands, Guadeloupe, Saint Barthelemy2001-2021
ArubaNov 2000 - July 2024
Antigua and BarbudaNov 2000 - July 2024
The BahamasNov 2000 - July 2024
BarbadosNov 2000 - July 2024
British Virgin IslandsNov 2000 - July 2024
Cayman IslandsNov 2000 - July 2024
CubaNov 2000 - July 2024
CuracaoNov 2000 - July 2024
DominicaNov 2000 - July 2024
Dominican RepublicNov 2000 - July 2024
GrenadaNov 2000 - July 2024
HaitiNov 2000 - July 2024
JamaicaNov 2000 - July 2024
MontserratNov 2000 - July 2024
USA: Puerto RicoNovember 2000 - July 2024
Saint BarthelemyNovember 2000 - July 2024
Saint Kitts and NevisNovember 2000 - July 2024
Saint MartinNovember 2000 - July 2024
Trinidad and TobagoNovember 2000 - July 2024
Turks and CaicosNovember 2000 - July 2024
US Virgin IslandsNovember 2000 - July 2024
South America
Argentina2001-2021Nov 2000 - July 2024
Brazil2001-2021November 2000 - July 2024
Bolivia2001-2021November 2000 - December 2024
Chile2001-2021Nov 2000 - July 2024
Colombia2001-2021Nov 2000 - July 2024
Ecuador2001-2021Nov 2000 - July 2024
GuyanaNov 2000 - July 2024
Paraguay2001-2021Nov 2000 - July 2024
Peru2001-2021November 2000 - July 2024
SurinameNov 2000 - July 2024
Uruguay2001-2021November 2000 - July 2024
Venezuela2001-2021November 2000 - July 2024
Northern South AmericaSuriname, French Guiana, Guyana2001-2021
Entire Western hemisphere, intended for use in conjunction with GOES16 active fire detections.Jan 2017 to March 2020
Europe
AlbaniaNov 2000 - July 2024
BelarusNov 2000 - July 2024
BelgiumNov 2000 - July 2024
Bosnia and HerzegovinaNov 2000 - July 2024
CroatiaNov 2000 - July 2024
CyprusNov 2000 - July 2024
CzechiaNov 2000 - July 2024
EstoniaNov 2000 - July 2024
Finland2001-2021Nov 2000 - July 2024
GermanyNov 2000 - July 2024
Greece2001-2021Nov 2000 - July 2024
GreenlandNov 2000 - July 2024
HungaryNov 2000 - December 2024
IrelandNov 2000 - December 2024
Italy2001-2021Nov 2000 - July 2024
KosovoNov 2000 - July 2024
LatviaNov 2000 - July 2024
LithuaniaNov 2000 - July 2024
MacedoniaNov 2000 - July 2024
MoldovaNovember 2000 - July 2024
MontenegroNovember 2000 - July 2024
NetherlandsNovember 2000 - July 2024
Northern CyprusNovember 2000 - July 2024
NorwayNovember 2000 - July 2024
Poland2001-2021November 2000 - July 2024
PortugalNovember 2000 - July 2024
RomaniaNovember 2000 - July 2024
San MarinoNovember 2000 - July 2024
SerbiaNovember 2000 - July 2024
SlovakiaNovember 2000 - July 2024
SloveniaNovember 2000 - July 2024
SpainNovember 2000 - July 2024
SwedenNovember 2000 - July 2024
SwitzerlandNovember 2000 - July 2024
UkraineNovember 2000 - July 2024
United KingdomNovember 2000 - July 2024
The British IslesUK and Ireland2001-2021
The Iberian PeninsulaSpain & Portugal2001-2021
Western EuropeFrance, Germany, Poland, Switzerland, Belgium, Netherlands, Luxembourg and Austria2001-2021
Central to Southern EuropeEstonia, Latvia, Lithuania, Belarus, Ukraine, Czech Republic, Slovakia, Hungary, Romania, Bulgaria, Montenegro, Bosnia, Turkey, Republic Of Moldova, Serbia, Albania, Slovenia, and North Macedonia2001-2021
Northern EuropeIceland, Sweden, Norway, and Denmark2001-2021
Africa
AlgeriaNov 2000 - July 2024
Angola2001-2021Nov 2000 - July 2024
Benin2001-2021Nov 2000 - July 2024
Botswana2001-2021Nov 2000 - July 2024
Burundi2001-2021Nov 2000 - July 2024
Burkina Faso2001-2021Nov 2000 - July 2024
Cabo VerdeNov 2000 - July 2024
Cameroon2001-2021November 2000 - July 2024
Central African Republic:2001-2021November 2000 - July 2024
Chad2001-2021November 2000 - July 2024
ComorosNov 2000 - July 2024
Democratic Republic of the Congo2001-2021Nov 2000 - December 2024 (s1t1)
Djibouti2001-2021Nov 2000 - July 2024
EgyptNov 2000 - July 2024
Equatorial Guinea2001-2021Nov 2000 - July 2024
Eritrea2001-2021Nov 2000 - July 2024
eSwatini2001-2021Nov 2000 - July 2024
Ethiopia2001-2021Nov 2000 - December 2024
Gabon2001-2021Nov 2000 - July 2024
The Gambia2001-2021Nov 2000 - December 2024
Ghana2001-2021Nov 2000 - December 2024
Guinea2001-2021Nov 2000 - July 2024
Guinea-Bissau2001-2021Nov 2000 - December 2024
Ivory Coast2001-2021Nov 2000 - December 2024
Kenya2001-2021Nov 2000 - July 2024
Lesotho2001-2021Nov 2000 - July 2024
Liberia2001-2021Nov 2000 - July 2024
LibyaNov 2000 - July 2024
Madagascar2001-2021November 2000 - July 2024
Malawi2001-2021November 2000 - July 2024
Mali2001-2021November 2000 - July 2024
Mauritania2001-2021November 2000 - July 2024
MauritiusNov 2000 - July 2024
Morocco2001-2021Nov 2000 - July 2024
Mozambique2001-2021Nov 2000 - July 2024
Namibia2001-2021Nov 2000 - July 2024
Niger2001-2021Nov 2000 - July 2024
Nigeria2001-2021Nov 2000 - July 2024
Republic of the Congo2001-2021Nov 2000 - July 2024
Rwanda2001-2021Nov 2000 - July 2024
Sao Tome and PrincipeNov 2000 - July 2024
Senegal2001-2021Nov 2000 - July 2024
Sierra Leone2001-2021Nov 2000 - July 2024
Somalia2001-2021Nov 2000 - July 2024
Somaliland2001-2021Nov 2000 - July 2024
South Africa2001-2021Nov 2000 - July 2024
South Sudan2001-2021Nov 2000 - July 2024
Sudan2001-2021Nov 2000 - July 2024
Tanzania2001-2021Nov 2000 - July 2024
Togo2001-2021Nov 2000 - July 2024
TunisiaNov 2000 - July 2024
Uganda2001-2021Nov 2000 - July 2024
Zambia2001-2021Nov 2000 - July 2024
Zimbabwe2001-2021Nov 2000 - July 2024
Central North AfricaLibya, Algeria, Tunisia2001-2021
Asia
AfghanistanNov 2000 - July 2024
ArmeniaNov 2000 - July 2024
AzerbaijanNov 2000 - July 2024
Bhutan2001-2021Nov 2000 - July 2024
Bangladesh2001-2021Nov 2000 - July 2024
BahrainNov 2000 - July 2024
CambodiaNov 2000 - July 2024
China2001-2021Nov 2000 - July 2024
India2001-2021Nov 2000 - December 2024
IsraelNov 2000 - July 2024
IraqNov 2000 - December 2024
IranNov 2000 - July 2024
Japan2001-2021Nov 2000 - July 2024
KazakhstanNov 2000 - July 2024
KuwaitNov 2000 - July 2024
KyrgyzstanNov 2000 - July 2024
LebanonNov 2000 - July 2024
Laos2001-2021Nov 2000 - July 2024
MacaoNovember 2000 - July 2024
Mongolia2001-2021November 2000 - July 2024
Myanmar2001-2021November 2000 - July 2024
Nepal2001-2021November 2000 - July 2024
North Korea2001-2021November 2000 - July 2024
OmanNovember 2000 - July 2024
PakistanNovember 2000 - July 2024
PalestineNovember 2000 - July 2024
QatarNovember 2000 - July 2024
Russia2001-2021November 2000 - July 2024
Saudi ArabiaNovember 2000 - July 2024
South Korea2001-2021November 2000 - July 2024
Sri Lanka2001-2021November 2000 - July 2024
SyriaNovember 2000 - July 2024
Taiwan2001-2021November 2000 - July 2024
TajikistanNovember 2000 - July 2024
Thailand2001-2021November 2000 - July 2024
TurkmenistanNovember 2000 - July 2024
United Arab EmiratesNovember 2000 - July 2024
UzbekistanNovember 2000 - July 2024
Vietnam2001-2021November 2000 - July 2024
YemenNovember 2000 - July 2024
CaucasusArmenia, Azerbaijan, Georgia2001-2021
Central AsiaTurkmenistan, Kazakhstan, Uzbekistan, Kyrgystan, Tajikistan, Afghanistan, and Pakistan2001-2021
Middle EastSaudi Arabia, Qatar, Oman, Yemen, United Arab Emirates, Iraq, Jordan, Syria, Israel, Palestine, Lebanon, Egypt2001-2021
Australia
Whole CountryNov 2000 - July 2024
(state by state)
Tasmania2001-2021
Victoria2001-2021
New South Wales + Capital Territory2001-2021
Queensland2001-2021
South Australia2001-2021
Western Australia2001-2021
Northern Territory2001-2021
Oceania
Philippines2001-2021Nov 2000 - July 2024
Papua New Guinea2001-2021Nov 2000 - July 2024
East Timor2001-2021Nov 2000 - July 2024
New CaledoniaNov 2000 - July 2024
New Zealand2001-2021Nov 2000 - July 2024
Malaysia2001-2021Nov 2000 - July 2024
Brunei2001-2021Nov 2000 - July 2024
Indonesia2001-2021Nov 2000 - December 2024
SamoaNovember 2000 - July 2024
SingaporeNovember 2000 - July 2024
Solomon IslandsNovember 2000 - July 2024
VanuatuNovember 2000 - July 2024

Installation

There are two main ways to install firedpy. Method 1 is to install locally from source and method 2 is to run it out of a Docker container.

Method 1 - Install from source:

1.1 Package Installer for Python (pip):

  • Step #1: Install the Geospatial Data Abstraction Library (GDAL) on your machine, if it is not installed already. The installation method depends on your operating system (OS) and package manager (for Linux and macOS). Below are a subset of installation options (see the GDAL Documentation page for official downloads: https://gdal.org/en/stable/download.html).

    macOS (brew)

    brew install gdal
    

    Linux (Debian or Debian-derivatives such as Ubuntu):

    sudo apt update
    sudo apt install gdal-bin libgdal-dev python3-gdal
    

    Linux (Fedora, RHEL, CentOS, Rocky Linux, and other OSs that use dnf)

    sudo dnf install gdal gdal-devel python3-gdal
    

    Linux (Arch)

    sudo pacman -Syu
    sudo pacman -S gdal python-gdal
    

    Windows

    The most commonly recommended approach for installing GDAL with Windows is to use the Conda method (described below), but you may also use the OSGeo4W network installer. Go to the OSGeo4W landing page and download and run the installer: https://trac.osgeo.org/osgeo4w/. More detailed installation instructions are available on that site.

  • Step 2: Create a Python environment and activate it. There are many options for doing this, one way is to use Python's virtual environment package as follows:

    macOS or Linux:

    mkdir ~/envs
    python3 -m venv ~/envs/firedpy
    source ~/envs/firedpy/bin/activate
    

    Windows (CMD):

    mkdir ~/envs
    python3 -m venv ~/envs/firedpy
    ~/envs/firedpy/Scripts/activate.bat
    
  • Step #3: Now you may install FIREDpy from source using pip. Clone this repository, change directories into it, and install using the pip installation command:

    git clone https://github.com/earthlab/firedpy.git
    cd firedpy
    pip install .
    

1.2 Conda:

Anaconda and its package manager conda is a system-independent method and should work for macOS, Linux, or Windows.

  • Step #1: Install Anaconda The installation method you use will depend on your operating system. Visit Conda's installation site, choose either Miniconda, Anaconda Distribution, or Miniforge (all options should work well) and following the installation instructions there: https://docs.conda.io/projects/conda/en/latest/user-guide/install/index.html. The easiest way to find an installer is through this miniconda repository: https://repo.anaconda.com/miniconda/.

  • Step #2: Clone this repository to a local folder and change directories into it:

    git clone https://github.com/earthlab/firedpy.git
    cd firedpy
    
  • Step 3: Use the environment.yml file to create a conda environment with all dependencies, including the system-level GDAL libraries.

    conda env create -f environment.yml
    conda activate firedpy
    
    • Recommendation: be explicit about the environment location
    conda env create -f environment.yml --prefix /path/to/firedenv
    conda activate /path/to/firedenb
    
  • Step 4: Install FIREDpy with pip.

    pip install .
    

Method 2 - Run from a Docker Container:

2.1 Get the docker container running:

Note, the docker container has changed from earthlab/firedpy to earthlabcu/firedpy

  • Run the docker container in a detached state (-d) and bind it to an available port on localhost (-p 127.0.0.1:0:7681)

  • docker run -d -p 127.0.0.1:0:7681 earthlabcu/firedpy:latest

  • Call docker ps to get the name of the docker container you just created and the port it is running on.

  • Then get into the docker container by either running docker exec:

    docker exec -it <silly_name> /bin/bash

  • Or access the CLI from your browser. The output from docker ps will look like this:

CONTAINER IDIMAGECOMMANDCREATEDSTATUSPORTSNAMES
58a8a6ed926aearthlabcu/firedpy:latest"/bin/entry.sh ttyd …"2 minutes agoUp 2 minutes127.0.0.1:32768->7681/tcpstupefied_hypatia

In this example the container is running on the host machine at 127.0.0.1:32768. It may be different when you run it. Access this location in your browser by copy and pasting it into your browser's address bar

2.2 Copy firedpy outputs to your local machine

After creating a new fire product, it might be useful to get it out of the docker container in order to use it.

  • First, exit the docker container by typing

    exit

  • Second, copy the file out. Here we will use the example of a container with the name "unruffled_clarke". The docker cp command uses the syntax docker cp <source> <destination>. Files inside of a docker container will have a prefix of the docker container name (or container ID) followed by a colon, then with a normal path.

    Here is an example command using the container name:

    docker cp unruffled_clarke:/home/firedpy/proj/outputs/shapefiles/fired_events_s5_t11_2020153.gpkg /home/Documents/fired_events_s5_t11_2020153.gpkg

    Another example command using the container ID:

    docker cp fa73c6d3e007:/home/firedpy/proj/outputs/shapefiles/fired_events_s5_t11_2020153.gpkg /home/Documents/fired_events_s5_t11_2020153.gpkg

Use:

  • To avoid having to type in your username and password every time, follow the instructions below to create a .netrc file in your home directory

https://nsidc.org/data/user-resources/help-center/creating-netrc-file-earthdata-login

  • Run the command-line interface firedpy or firedpy --help in your terminal for its help file:
firedpy --help

You should see the help file with a description of the CLI and each of its options:


Usage: firedpy [OPTIONS]

  firedpy command-line interface.

Options:
  --version                       Show the version and exit.
  -i, --interactive               Interactive Mode. Firedpy will prompt the user for all parameter
                                  values and confirm selections before proceeding. Defaults to
                                  False.
  -p, --project_directory TEXT    Interactive Mode. Firedpy will prompt the user for all parameter
                                  values and confirm selections before proceeding. Defaults to
                                  False.  [required]
  -n, --project_name TEXT         A name used to identify the output files of this project. Defaults
                                  to None, which will use the name of the parent run directory.
...

Then you may either run the CLI with each non-default parameter you wish define. You must define the project directory to help avoid writing outputs in your current working directory. You must also define either a --tiles, --shape_file or --country option for your study area. Be careful, running with defaults and a fire-intensive study area can be a very resource intensive operation:

firedpy --project_directory ~/scratch/firedpy_finland --country Finland

You may also run firedpy with the --interactive or -i flag to be prompted with input questions for each option:

firedpy -i

In this case, you will see a series of prompts starting with

Using interactive mode, please enter parameter values as prompted. Press enter to accept defaults if availabile (value in square brackets)

Project directory path. Inputs and outputs will all be written here. Required (Use "." for the present directory).: 

The following set of commands demonstrates how to run firedpy with increasingly detailed control over the run options:

  • Change the spatial and temporal parameters of the model run:

    firedpy -project_directory ~/scratch/firedpy_finland --country Finland --spatial_param 6 --temporal_param 10
    
  • Specify specific MODIS tiles instead of a full country study area:

    firedpy -p ~/scratch/firedpy_nw_brazil --tiles "h11v09 h12v09" -sp 6 -tp 10
    
  • Specify specific years to run (defaults to 2000 to 2025):

    firedpy -p ~/scratch/firedpy_nw_brazil -t "h11v09 h12v09" -sp 6 -tp 10 --start_year 2020 --end_year 2024
    
  • Add the most common level 3 Ecoregion as an attribute to each event:

    firedpy -p ~/scratch/firedpy_nw_brazil -t "h11v09 h12v09" -sp 6 -tp 10 -y1 2020 -y2 2024 --eco_region_type 3
    
  • Add landcover information and produce the daily burn file:

    firedpy -p ~/scratch/firedpy_nw_brazil -t "h11v09 h12v09" -sp 6 -tp 10 -y1 2020 -y2 2024 --et 3 --land_cover_type 4 --daily
    

Parameter table

parametervalue(s)exampledescription
--spatial_param, -spinteger-sp 5Pixel radius for moving window, defaults to 5
--temporal_param, -tpinteger-tp 11Day radius for moving window, defaults to 11
--tiles, -tcharacter (MODIS tile)-t h11v09which modis tiles should be used
--shape_file, -sfcharacter (shapefile)-sf ~/firedpy/data/individual_countries/canada.gpkgFinds MODIS tiles to download based on the polygon and clips output by the shapefile boundaries
--project_directory, -pcharacter-p /home/firedpy/projSets the output directory. Will also download all input data to this path
--eco_region_type, -etcharacter-et naType of ecoregion, either 'world' or 'na'
--eco_region_level, -elinteger-el 3If ecoregion type = na, the level (1-3) of North American ecoregions
--land_cover_type, -ltinteger and character-lt 2Number (1-3) corresponding with a MODIS/Terra+Aqua Land Cover (MCD12Q1) category. You will need to also make an account at https://urs.earthdata.nasa.gov/home
--shape_type, -stcharacter-st gpkgOption to build a shapefile for the fired event as a GeoPackage (gpkg), ESRI shapefile (shp), or both
--project_name, -ncharacter-n fired_coloradoSpecifies a base name for output files for the tables and shapefile outputs
--daily, -dcharacter (yes or no)-dCreates daily polygons, if not provided only event-level perimeters will be created
--start_year, -y1integer-y1 2001Gets the HDF4 files from the MODIS tiles starting in this year. The first year avalible is 2001
--end_yearinteger-y2 2021Gets the HDF4 files from the MODIS tiles ending in this year. The last year avalible is 2021

Boundary files are available for use as areas of interest

  • Country boundaries are in data/individual_countries
  • Continent boundaries are in data/continents
  • United States state boundaries for the United States of America are in dat/us_states
  • Australian state boundaries are in data/australian_states
  • For example firedpy -sf ~/firedpy/firedpy/data/us_states/colorado.gpkg gets Colorado, USA.
  • If using the ineractive option, when prompted for the name of the country, spaces will be replaced with spaces and case does not matter.

How to update the docker container

  • step 0.1. install docker (go to the docker site for OS-specific instructions.)
  • step 0.2. get a dockerhub account
  • step 1. login to docker hub via the command-line
    • docker login or sudo docker login
  • step 2. get the existing docker image set up
    • docker run -t -d earthlab/firedpy
  • step 3. update from GitHub
    • git pull
  • step 4. build the docker container
    • docker build -t earthlab/firedpy:latest .
  • step 5. ENSURE THE SOFTWARE STILL WORKS BEFORE PUSHING
    • firedpy -aoi /home/firedpy/ref/individual_countries/samoa.gpkg
  • step 6. push it up to dockerhub
    • docker push earthlab/firedpy:latest