[general]
name=WaPOR Water Productivity Analysis
qgisMinimumVersion=3.22
qgisMaximumVersion=3.99
description=FAO WaPOR-based water productivity analysis for irrigation performance assessment
version=0.6.6
author=Osman Ibrahim
email=osmangeomatics93@gmail.com
about=Integrates FAO WaPOR remote sensing data for comprehensive water productivity analysis.

    Features:
    - Bulk WaPOR data download with retry/resume support
    - Automated resampling and masking with raster contract enforcement
    - Seasonal aggregation with customizable Kc values
    - Performance indicators (uniformity, beneficial fraction, adequacy, RWD)
    - Land and water productivity calculation
    - Productivity gap analysis and bright spot identification
    - Land cover masking (Sentinel 2A crop classification support)
    - Full pipeline automation with reproducible manifests

    Based on IHE Delft WAPORWP methodology.
    Requires WaPOR API token from https://wapor.apps.fao.org/profile

tracker=https://github.com/Osman-Geomatics93/wapor-water-productivity/issues
repository=https://github.com/Osman-Geomatics93/wapor-water-productivity
homepage=https://github.com/Osman-Geomatics93/wapor-water-productivity

hasProcessingProvider=yes
tags=water,productivity,agriculture,irrigation,FAO,WaPOR,remote sensing,evapotranspiration,food security,masking,land cover
category=Analysis
icon=icon.png
experimental=False
deprecated=False
server=False

changelog=
    0.6.6 - Config Fix
        * Fix missing DEFAULT_BLOCK_SIZE constant
    0.6.5 - Land Cover Masking Feature
        * Add new "Mask by Land Cover" algorithm for crop masking
        * Support Sentinel 2A and other land cover classifications
        * Flexible class value input (single, multiple, ranges)
        * Automatic alignment validation
    0.6.4 - Gaps Algorithm Fix
        * Fix TypeError in gaps algorithm (wrong manifest function arguments)
    0.6.3 - Seasonal Aggregation Fixes
        * Add support for WaPOR v3 filename format (YYYY-MM-DX) in seasonal aggregation
        * Fix 'manifest' attribute error in seasonal aggregation algorithm
    0.6.2 - Date Parsing Enhancement
        * Add support for MM/DD/YYYY and DD/MM/YYYY date formats in season table
        * Better error handling for invalid date formats
    0.6.1 - Bugfix Release
        * Fix crash on download: date variables used before definition
    0.6.0 - Analysis & Utility Tools
        * Added zonal statistics algorithm
        * Added data validation algorithm
        * Added result loading algorithm
        * Added report generation algorithm
        * Improved cache management
        * Enhanced database functionality
    0.5.0 - Core Analysis Features
        * Water productivity calculations
        * Seasonal aggregation
        * Performance indicators
    0.1.0 - Initial development release
        * WaPOR data download (L1, L2) with retry/resume
        * Basic plugin structure and Processing provider
