te_algorithms.gee.productivity

calc_prod3(prod5)
calc_prod5(traj_signif, perf_deg, state_classes, NODATA_VALUE=-32768)
linear_trend(ndvi_series, logger)
ndvi(year_initial, year_final, ndvi_1yr, logger)

Calculate temporal NDVI analysis. Calculates the trend of temporal NDVI using NDVI data from the MODIS Collection 6 MOD13Q1 dataset. Areas where changes are not significant are masked out using a Mann-Kendall test. Args:

year_initial: The starting year (to define the period the trend is

calculated over).

year_final: The ending year (to define the period the trend is

calculated over).

Returns:

Output of google earth engine task.

ndvi_trend(year_initial, year_final, ndvi_1yr, logger)
p_residuals(year_initial, year_final, ndvi_1yr, climate_1yr, logger)
p_restrend(year_initial, year_final, ndvi_1yr, climate_1yr, logger)
productivity_faowocat(low_biomass=0.4, high_biomass=0.7, years_interval=3, modis_mode='MannKendal + MTID', year_initial=2001, year_final=2015, prod_asset=None, desert_max_vi=0.25, logger=None)

Compute FAO-WOCAT Land Productivity Dynamics (LPD) and the Productivity State diagram in one call.

Notes:
  • year_final is REQUIRED for the FAO-WOCAT dynamics period.

  • years_interval controls:
    • the MTID “last N years” window,

    • the initial biomass window (first N years),

    • the T1 (first N years) and T2 (last N years) means for Emerging State,

    • the baseline/target windows for Productivity State (already using it).

productivity_performance(year_initial, year_final, prod_asset, all_geojsons, logger)

Calculate productivity performance using unified percentiles across all areas.

Args:

year_initial: Starting year for the analysis period year_final: Ending year for the analysis period prod_asset: Asset ID for the productivity dataset all_geojsons: List of geojson dictionaries for unified percentile calculation logger: Logger instance

Returns:

TEImage object with global productivity performance results

productivity_series(year_initial, year_final, method, prod_asset, climate_asset, logger)
productivity_state(year_bl_start, year_bl_end, year_tg_start, year_tg_end, prod_asset, logger)
productivity_trajectory(year_initial, year_final, method, prod_asset, climate_asset, logger)
ue(year_initial, year_final, ndvi_1yr, climate_1yr, logger)
ue_trend(year_initial, year_final, ndvi_1yr, climate_1yr, logger)