A Practical Method for High-Resolution Burned Areas Monitoring using Sentinel-2 and VIIRS
Install using pip
pip install FireHR
Install from repo
git clone https://github.com/mnpinto/FireHR
cd FireHR; pip install -e .
How to use
Configuration of Google Earth Engine API
Run the following python code and follow the link to generate the authentication file:
import ee
ee.Authenticate()
Once you are done you should see the message Successfully saved authorization token. and the file ~/.config/earthengine/credentials should exist.
Please refer to https://developers.google.com/earth-engine/guides/python_install for more information about the GEE Python API.
Command line utility to run FireHR for an event as outputed by BA-Net post-processing
firehr_from_banet_events ba100m_PT2020_218.tif
Optional arguments:
| Argument | default | type | description |
|---|---|---|---|
| path | '.' | str | Path to save the outputs. |
| composite_days_before | 120 | int | Time window size in days for the pre-fire data |
| composite_days_after | 120 | int | Time window size in days for the post-fire data |
| max_cloud_fraction | None | float (0.0-1.0) | Remove images with a cloud fraction higher than specified |
| use_least_cloudy | None | int | Select the n least cloudy images in the time_window |
Example using use_least_cloudy parameter:
firehr_from_banet_events ba100m_PT2020_218.tif --use_least_cloudy 5
Metadata
Release files for FireHR 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| FireHR-0.1.6.tar.gz | 15.6 kB | Without provenance | Details for FireHR-0.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| FireHR-0.1.6-py3-none-any.whl | Python 3 | none | any | Details for FireHR-0.1.6-py3-none-any.whl |
Total release size: 30.8 kB
Release files / FireHR-0.1.6.tar.gz
| Download URL | FireHR-0.1.6.tar.gz |
|---|---|
| Size | 15.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f1a6c5dd2a9bd1e00dcd2e5e16ad2987543a7c317f2acb69249f22e30eabdb8
|
|
BLAKE2b-256 checksum How to use checksums |
ba194c31302db169f149eb1111c5735c6c3d20c6f8e38c92c6f39847bb05cf8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.0
|
Release files / FireHR-0.1.6-py3-none-any.whl
| Download URL | FireHR-0.1.6-py3-none-any.whl |
|---|---|
| Size | 15.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c2cffc30a305846b30132666e1b647a367a93612297b253e91a7c96cf3a01839
|
|
BLAKE2b-256 checksum How to use checksums |
74afbec7ab5f80db80c5e6b6c15566a53951faeb17837528e3c56fd02c1d43dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.0
|
Security for FireHR 0.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.