Metadata-Version: 2.1
Name: fire-split
Version: 0.1.8
Summary: Split individual fire events from tif files
Home-page: https://github.com/mnpinto/fire_split/tree/master/
Author: Miguel Pinto
Author-email: mnpinto@fc.ul.pt
License: Apache Software License 2.0
Keywords: wildfire
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: numpy
Requires-Dist: pandas
Requires-Dist: tqdm
Requires-Dist: scipy
Requires-Dist: matplotlib
Requires-Dist: rasterio
Requires-Dist: shapely
Requires-Dist: geopandas
Requires-Dist: fastscript

# Fire Split
> Split individual fire events from tif files


## Install

`pip install fire_split`

## How to use

Command line utility:
```bash
fire_split_run tif_path output_path --interval_days 16
```

`tif_path` is the path for a tif file or directory with tif files. Each tif file should contain a layer with dates of burning in julian days.

`output_path` is the directory to save the outputs.

Use split_fires function:
```python
from fire_split.core import split_fires
labels, df = split_fires(date) # date is a 2d numpy array with the dates of burning in julian days
```

More information in the documentation page: https://mnpinto.github.io/fire_split


