Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ocsmit/mwinpy
A parallelized moving window raster comparison algorithm.
https://github.com/ocsmit/mwinpy
parallel raster remote-sensing
Last synced: 3 days ago
JSON representation
A parallelized moving window raster comparison algorithm.
- Host: GitHub
- URL: https://github.com/ocsmit/mwinpy
- Owner: ocsmit
- License: gpl-3.0
- Created: 2020-03-30T18:24:55.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-29T19:02:40.000Z (almost 4 years ago)
- Last Synced: 2024-06-05T19:27:06.464Z (5 months ago)
- Topics: parallel, raster, remote-sensing
- Language: Python
- Homepage:
- Size: 66.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MWinPy
[![Documentation Status](https://readthedocs.org/projects/mwinpy/badge/?version=latest)](https://mwinpy.readthedocs.io/en/latest/?badge=latest)MWinPy is an implementation of the moving window comparison algorithm designed to work with geospatial data.
Moving window comparisons can be useful for comparing changes between two different data sets while taking into account spatial patterns that a pixel by pixel approach will fail to detect.
### Usage
```
from mwinpy import MWin# initialize a 5x5 moving window with 3 cores
mw = MWin(5, 3)# Categorical rasters to compare
x, y = "./NLCD_2013.tif", "./NLCD_2016.tif"# Run 5x5 comparison window over x & y. NoData values read automatically.
mw.fit(x, y)mw.plot()
```