Python library for post-fire assessment and wildfire analysis using Google Earth Engine.
Project description
wildfire-analyser
Python project for analyzing wildfires in natural reserves.
Installation and Usage
Follow the steps below to install and test wildfire-analyser inside an isolated environment:
mkdir /tmp/test
cd /tmp/test
python3 -m venv venv
source venv/bin/activate
pip install wildfire-analyser
Required Files Before Running the Client
Before running the client, you must prepare two items:
1. Add a GeoJSON polygon
Create a folder named polygons in the project root and place your ROI polygon file inside it:
/tmp/test/
├── polygons/
│ └── your_polygon.geojson
└── venv/
An example GeoJSON file is available in the repository.
2. Create the .env file with GEE authentication data
In the project root, add a .env file containing your Google Earth Engine authentication variables.
A .env template is also available in the GitHub repository.
/tmp/test/
├── .env
├── polygons/
└── venv/
Running the Client
After adding the .env file and your GeoJSON polygon:
python3 -m wildfire_analyser.client
This will start the analysis process, generate the configured deliverables, and save the output files in the current directory.
Setup Instructions for Developers
- Clone the repository
git clone git@github.com:camargo-advanced/wildfire-analyser.git
cd wildfire-analyser
- Create a virtual environment
python3 -m venv venv
- Activate the virtual environment
source venv/bin/activate
- Install dependencies Make sure the virtual environment is activated, then run:
pip install -r requirements.txt
-
Configure environment variables Copy your version of
.envfile to the root folder with your GEE authentication credentials. A template file.env.templateis provided as an example. -
Run the sample client application
python3 -m wildfire_analyser.client
Useful Commands
- Deactivate the virtual environment:
deactivate
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wildfire_analyser-0.1.5.tar.gz.
File metadata
- Download URL: wildfire_analyser-0.1.5.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3be551f5f1bbc5de116492e8fdbcefddb6581fd7a8d74be99b12f71ef2c079c5
|
|
| MD5 |
59cdff71bceba8b79ef9415ae4894006
|
|
| BLAKE2b-256 |
efdf7364d45aa882ce2fdcbe88f865453c804fe1552dfcdffcdd2e724a550e7d
|
File details
Details for the file wildfire_analyser-0.1.5-py3-none-any.whl.
File metadata
- Download URL: wildfire_analyser-0.1.5-py3-none-any.whl
- Upload date:
- Size: 12.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
593b42e14cad6e51a9e75beef990ff29539fae5db30b065dcbbe0a0ee6a59144
|
|
| MD5 |
eeeef5f161f71c55c08dbe6aed7bd89b
|
|
| BLAKE2b-256 |
0f64dbba43dc26fa982ace81dcaef078fd1d1bb937dde4cd4afee5858f269544
|