Code for: Detected shifts towards drought-adaptive strategies in the Amazon forest over the last four decades (GEE workflows)

Read full text
Authors: Milton Barbosa
Cited by: 0

Abstract

Harmonised Landsat time series (landsat_harmonized_timeseries_LC2.js) Builds a harmonised surface reflectance time series from Landsat 5, 7 and 8 (Collection 2, Level 2, Tier 1). Applies cloud/saturation masking and scaling factors, renames bands (blue, green, red, NIR, SWIR1, SWIR2). Extracts per-plot band means and exports time-series tables as CSV. Sentinel-2 spectral bands at miniplots (sentinel2_miniplots_timeseries_S2_SR.js) Uses Sentinel-2 L2A (COPERNICUS/S2_SR) and a cloud/snow/shadow mask based on SCL and probability bands. Renames key bands (blue, green, red, red-edge bands, NIR, SWIR1, SWIR2). Extracts per-miniplot band time series and exports tall and wide CSVs. Sentinel-2 indices at miniplots (sentinel2_miniplots_indices_timeseries_S2_SR.js) Computes NDVI, EVI, MSAVI, NDMI and NDRE from Sentinel-2 L2A after cloud/snow/shadow masking. Extracts per-miniplot index time series (implemented for NDMI, extensible to all indices). Exports tall and wide NDMI time-series tables as CSV. TerraClimate time series at plots (terraclimate_plots_timeseries_IDAHO_EPSCOR_TERRACLIMATE.js) Extracts monthly TerraClimate variables (AET, DEF, PDSI, PET, PR, RO, SOIL, SRAD, TMMN, TMMX, VAP, VPD, VS). Applies the appropriate scale factors and computes per-plot monthly means. Exports one tall CSV per variable (plot × month). Sentinel-2 spectral bands at Amazon plots (sentinel2_plots_timeseries_bands_S2_SR_amazon.js) Applies the same Sentinel-2 L2A preprocessing to larger Amazon plot polygons. Extracts time series for all main Sentinel-2 bands over each plot. Exports tall and wide band time-series CSVs for use in downstream analyses.

Fields of Study & Subjects

Remote Sensing in Agriculture Plant Water Relations and Carbon Dynamics Hydrology and Drought Analysis

Publication details

Journal / source
Zenodo (CERN European Organization for Nuclear Research)
Publication date
16 January 2026