Add temporal analysis and raster change detection
まだ誰も着手していません。
評価
調査の方向性
No specific files, entry points, or tests are named. Start by reviewing the existing raster-analysis algorithms and their xarray time-dimension handling, then define the smallest supported slice of the proposed scope. Done should include the selected temporal-analysis capability, documented behavior for stacked rasters, and validation of Dask-compatible per-pixel processing.
索引モデルが issue の本文から書いたものです。
説明
Motivation
xarray-spatial handles single-time raster analysis well, but lacks tools for multi-temporal workflows. With Sentinel-2, MODIS, and Landsat time series now standard inputs, users regularly need change detection and trend analysis on stacked rasters. Currently this means writing custom code or pulling in unrelated libraries.
Scope
Image differencing and change vectors:
- Simple band differencing between two dates
- Change vector analysis (CVA) that computes magnitude and direction of change across multiple bands
Land cover transitions:
- From/to transition matrices with area estimates (goes beyond what
zonal_crosstabdoes today) - Per-class gain/loss/swap/net-change decomposition
Pixel-level trend analysis:
- Mann-Kendall test for monotonic trend detection over a time series
- Theil-Sen slope estimator (robust to outliers, good for NDVI trends)
Phenology extraction from NDVI time series:
- Start of season, end of season, peak timing
- Seasonal amplitude and integrated greenness
Implementation notes
- Should work with xarray's time dimension natively, operating along the time axis of a 3D (time, y, x) DataArray.
- Dask support matters here more than usual since time stacks can be tens of GB. Per-pixel operations (trend tests, phenology) parallelize naturally across spatial chunks.
- Mann-Kendall and Theil-Sen are per-pixel reductions along the time axis, similar to how
apply_ufuncworks. - Phenology extraction will likely need interpolation or smoothing as a preprocessing step. Could use a simple Savitzky-Golay filter or similar.
- 主要言語
- Python
- スター
- 972
- フォーク
- 92
- 平均マージ
- 2日 12時間
- マージ済み PR(30日)
- 7
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
xarray-contrib/xarray-spatial のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
xarray-contrib/xarray-spatial#3726 ·
-
api area:surface bug severity:medium sweep-api-consistency
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
xarray-contrib/xarray-spatial#3712 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
xarray-contrib/xarray-spatial#3710 ·
-
bug
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
xarray-contrib/xarray-spatial#3707 ·
-
area:surface documentation user-guide-example
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
xarray-contrib/xarray-spatial#3464 ·
xarray-contrib/xarray-spatial の issue をすべて見る
似ている issue
-
documentation help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
simonw/sqlite-utils#872 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100