[general]
name=CCD-Plugin
description=Plot a Landsat or Sentinel-2 time series at any coordinate and find its trends and breakpoints of change with the CCDC algorithm
about=Pick a coordinate and the plugin pulls every clear Landsat (4, 5, 7, 8 and 9, Collection 2) or Sentinel-2 observation for that pixel out of Google Earth Engine, then runs the Continuous Change Detection (CCDC) algorithm over the series. CCDC fits a harmonic model to each stable period and reports a break only where several consecutive observations stop agreeing with it, so the plot shows the observations, one fitted curve per segment, and the dates the pixel changed. Bands and spectral indices, cloud masking, the seasonal window and the CCDC parameters are all configurable. Requires an active Google Earth Engine account and the Google Earth Engine plugin.

version=26.11
qgisMinimumVersion=4.0

author=Xavier Corredor Llano, SMByC
email=xavier.corredor.llano@gmail.com

homepage=https://github.com/SMByC/CCD-Plugin
tracker=https://github.com/SMByC/CCD-Plugin/issues
repository=https://github.com/SMByC/CCD-Plugin

changelog=
    26.11:
    - Generate retries failed band switches, and band switching recomputes after the shared cache is cleared
    - Earth Engine initialization is shared across runs, with cancellable waits and a timeout
    - Malformed configuration field types are reported without aborting lenient project restores
    - Validate release archives before publication; preserve public assets on retries and retain prerelease experimental status for QGIS
    - The plotted band or index no longer changes the CCDC fit: NDVI/NBR used to mask dark observations out of every band's model
    - Observations need all six bands within 0 < SR <= 1, the rule of Zhu's CCDC, LCMAP pyccd and gee-ccdc-tools; about one percent fewer Landsat observations, mostly over water
    - The end date is now included in the series
    - Coordinates keep 7 decimals, and a click past the antimeridian is wrapped instead of clamped to 180
    - With a day-of-year window the model is drawn only inside it, and the header counts the dates CCDC fits
    - Warn when change-detection bands repeat each other (an index next to its own bands)
    - The dock is reused when reopened; closing it no longer leaves map tools, dialogs or markers behind
    - Pick mode follows the active map tool, and the marker follows changes of the map CRS
    - A failed or interrupted plot restores the previous one instead of leaving the loading page
    - Earth Engine is initialized once, off the interface thread
    - Configuration files are validated before anything is applied
    - Requires plotly 5.16 or newer, installing the bundled one when the installed plotly is older
    26.8:
    - Require QGIS 4 / Qt 6 and render plots with Qt WebEngine
    - Only confirmed breaks are drawn as changes; a change still accumulating is drawn apart, labelled with its probability
    - Change detection defaults to Green/Red/NIR/SWIR1/SWIR2, excluding the haze-prone blue band
    - Sample the series and the fitted model on the source pixel grid, not a half-pixel-offset resampling of it
    - Selectable Sentinel-2 cloud mask: Cloud Score+ (default), s2cloudless, Sen2Cor or none
    - One tasseled cap domain across Landsat sensors, removing false breaks at the L5/L7/L8 transitions
    - Reject out-of-range surface reflectance, clamp EVI/EVI2, and support DOY windows crossing the new year
    - A full-year DOY window now means no seasonal filter, so a leap year's 31 December is kept
    - Much faster on long series, and no longer hits the Earth Engine memory limit on dense points
    - Plot: a colour per segment, break dates, RMSE on hover, counts in the header, and a far smaller page
    - Name the dataset's availability window when a date range returns no images
    - Cap the results cache and clear it when the plugin closes
    - All commits in: https://github.com/SMByC/CCD-Plugin/commits

tags=gee,google earth engine,change detection,ccdc,time series,breakpoints,trends,landsat,sentinel-2,remote sensing

plugin_dependencies=Google Earth Engine

category=Plugins
icon=icons/ccd_plugin.svg
experimental=False
deprecated=False
