Universal Code Hub Upgrade

Script Library

58 ready-to-paste GEE scripts · 5 publication-grade · JS + Python

ResearchVegetationAdvanced Harmonized Landsat 5–9 NDVI Trend (1984–today, Mann-Kendall + Sen Slope)40-year per-pixel greening/browning trend with significance map, ready for publication Fig. 1. NDVItrendMann-KendallLandsat 🧪 5 stepsOpen → ResearchDisasterAdvanced Sentinel-1 Rapid Flood Mapping (Otsu + JRC permanent-water mask)Pre/post SAR change with automatic threshold; excludes permanent water; reports exposed population. SARSentinel-1Otsuflood 🧪 7 stepsOpen → AdvancedLand CoverAdvanced Dynamic World LULC — Annual Change Matrix + Accuracy10 m near-real-time land-cover, annual mode composites, transition matrix, sample-based accuracy. land coverDynamic Worldaccuracytransition matrix 🧪 4 stepsOpen → AdvancedAir QualityAdvanced Sentinel-5P NO₂ Monthly Climatology & AnomalyBuilds a 2019-baseline NO₂ climatology and maps anomalies for any month — useful for emission analyses. NO2Sentinel-5Pclimatologyanomaly 🧪 5 stepsOpen → ResearchTemperatureAdvanced Urban Heat Island — Landsat Surface Temperature vs. NDVIQuantifies UHI intensity as the LST difference between built-up and surrounding rural pixels, with NDVI regression. UHILSTLandsatNDVI regression 🧪 5 stepsOpen → AdvancedClimateAdvanced ERA5-Land Growing/Cooling/Heating Degree DaysDaily GDD/HDD/CDD from ERA5-Land — fundamental for agronomy and energy demand studies. ERA5degree daysagronomyclimate 🧪 4 stepsOpen → ResearchForestAdvanced GEDI L4A Above-Ground Biomass × ESA WorldCoverStratifies GEDI biomass by land-cover class — publication-ready forest carbon stock estimates. GEDIbiomassforest carbonWorldCover 🧪 4 stepsOpen → AdvancedRainfallAdvanced CHIRPS Standardized Precipitation Index (SPI-3 / SPI-12)Drought indicator from 40+ years of CHIRPS — SPI at 3- and 12-month accumulation windows. SPIdroughtCHIRPSclimate 🧪 4 stepsOpen → AdvancedUrbanAdvanced VIIRS Nighttime Lights × Population — Economic Activity ProxyPer-capita NTL by admin unit — widely used as a sub-national GDP proxy in economics literature. nighttime lightsVIIRSGDP proxyeconomics 🧪 4 stepsOpen → ResearchOpticalAdvancedpaid PlanetScope / NICFI Monthly Mosaics — Sub-Daily Change4.77 m monthly mosaics (NICFI/Planet) for high-resolution change detection in the tropics. PlanetNICFIhigh resolutiontropics 🧪 4 stepsOpen → BasicVegetationBasic NDVI Monthly Time SeriesGenerate monthly NDVI time series for a region using MODIS 250m data. NDVIMODISvegetationtime series JS + PyOpen → BasicVegetationIntermediate EVI Phenology AnalysisAnalyze vegetation phenology using Enhanced Vegetation Index from MODIS. EVIphenologyMODISseasonal JS + PyOpen → BasicVegetationAdvanced GPP/NPP Carbon AssessmentAssess carbon productivity using MODIS GPP and NPP products. GPPNPPcarbonproductivity JS + PyOpen → BasicVegetationIntermediate LAI/FPAR Crop MonitoringMonitor crop conditions using Leaf Area Index and FPAR. LAIFPARcropmonitoring JS + PyOpen → BasicWaterBasic NDWI Water Body MappingMap water bodies using Normalized Difference Water Index from Sentinel-2. NDWIwaterSentinel-2mapping JS + PyOpen → BasicWaterIntermediate Surface Water OccurrenceAnalyze long-term surface water occurrence using JRC Global Surface Water. waterJRCoccurrencelong-term JS + PyOpen → BasicWaterAdvanced Flood Frequency & Risk MappingMap flood frequency and risk zones using JRC monthly water history. floodfrequencyriskJRC JS + PyOpen → BasicUrbanBasic NDBI Urban MappingMap urban areas using Normalized Difference Built-up Index. NDBIurbanbuilt-upLandsat JS + PyOpen → BasicUrbanIntermediate Nighttime Lights Urban GrowthTrack urban expansion using VIIRS nighttime lights time series. nighttime lightsurbanVIIRSgrowth JS + PyOpen → BasicUrbanAdvanced Urban Heat Island AssessmentAssess Urban Heat Island effect using MODIS LST and land cover. UHIheat islandLSTurban JS + PyOpen → BasicTemperatureBasic LST Day/Night ComparisonCompare daytime and nighttime Land Surface Temperature. LSTtemperaturedaynight JS + PyOpen → BasicTemperatureAdvanced Temperature Trend Analysis (Mann-Kendall)Detect significant temperature trends using Mann-Kendall test. temperaturetrendMann-KendallLST JS + PyOpen → BasicRainfallBasic Monthly Rainfall DistributionMap monthly rainfall distribution using CHIRPS daily data. rainfallCHIRPSmonthlyprecipitation JS + PyOpen → BasicRainfallIntermediate Rainfall Anomaly & Drought IndexCalculate rainfall anomalies and standardized precipitation index. rainfallanomalydroughtSPI JS + PyOpen → BasicRainfallAdvanced GPM vs CHIRPS ComparisonCompare GPM IMERG and CHIRPS rainfall products over a region. GPMCHIRPScomparisonvalidation JS + PyOpen → BasicAir QualityBasic NO₂ Concentration MappingMap tropospheric NO₂ concentrations from Sentinel-5P TROPOMI. NO2air qualitySentinel-5Ppollution JS + PyOpen → BasicAir QualityBasic SO₂ Concentration MappingMap sulfur dioxide concentrations from Sentinel-5P. Monitors volcanic activity, power plants, and smelters. SO2sulfur dioxideSentinel-5Pvolcanic JS + PyOpen → BasicAir QualityBasic CO Carbon Monoxide MappingMap carbon monoxide concentrations from Sentinel-5P. Traces biomass burning and industrial emissions. COcarbon monoxideSentinel-5Pbiomass burning JS + PyOpen → BasicAir QualityBasic CH₄ Methane MappingMap methane concentrations from Sentinel-5P. Key greenhouse gas from wetlands, agriculture, oil & gas. CH4methanegreenhouse gasSentinel-5P JS + PyOpen → BasicAir QualityBasic O₃ Ozone Column MappingMap total ozone column from Sentinel-5P. Monitors stratospheric ozone layer and ground-level pollution. O3ozoneSentinel-5Pstratosphere JS + PyOpen → BasicAir QualityIntermediate HCHO Formaldehyde MappingMap formaldehyde from Sentinel-5P. Proxy for VOC emissions from biogenic sources and fires. HCHOformaldehydeVOCSentinel-5P JS + PyOpen → BasicAir QualityBasic Aerosol Index (UVAI) MappingMap UV Aerosol Index from Sentinel-5P. Detects dust storms, biomass burning smoke, volcanic ash. aerosolUVAIdustsmoke JS + PyOpen → BasicAir QualityIntermediate Aerosol Optical Depth (MODIS)Map aerosol optical depth from MODIS MAIAC at 1km resolution. Proxy for PM2.5 air pollution. AODaerosolPM2.5MODIS JS + PyOpen → BasicAir QualityIntermediate Multi-Pollutant DashboardMonitor multiple pollutants (NO₂, CO, SO₂, O₃, CH₄) simultaneously from Sentinel-5P. multi-pollutantNO2COSO2 JS + PyOpen → BasicAir QualityAdvanced COVID-19 Lockdown ImpactAnalyze air quality changes before vs during COVID-19 lockdowns using NO₂ and CO. COVID-19lockdownNO2change JS + PyOpen → BasicAir QualityAdvanced Methane Emission Hotspot DetectionIdentify CH₄ emission hotspots using temporal anomaly analysis from Sentinel-5P. methaneCH4hotspotanomaly JS + PyOpen → BasicAir QualityIntermediate Seasonal Air Quality AnalysisAnalyze seasonal patterns in NO₂, SO₂, and aerosols across 4 seasons. seasonalNO2SO2aerosol JS + PyOpen → BasicLand CoverBasic Dynamic World ClassificationGenerate land cover classification using Dynamic World. Dynamic Worldland coverclassification JS + PyOpen → BasicLand CoverIntermediate LULC Change MatrixCreate a land use/land cover change transition matrix between two periods. LULCchangematrixtransition JS + PyOpen → BasicLand CoverAdvanced Multi-Source Accuracy AssessmentCompare multiple land cover products for accuracy assessment. accuracycomparisonland covervalidation JS + PyOpen → BasicChange DetectionBasic NDVI Change DetectionDetect vegetation changes using NDVI differencing between two periods. NDVIchange detectionbefore-after JS + PyOpen → BasicChange DetectionIntermediate SAR-Based Change DetectionDetect changes using Sentinel-1 SAR backscatter difference. SARSentinel-1change detectionradar JS + PyOpen → BasicChange DetectionAdvanced Continuous Change Detection (CCDC)Apply CCDC algorithm for continuous land cover monitoring. CCDCcontinuousmonitoringLandsat JS + PyOpen → BasicDisasterBasic Flood Mapping (Sentinel-1)Map flood extent using Sentinel-1 SAR data. floodSARSentinel-1disaster JS + PyOpen → BasicDisasterIntermediate Fire Scar MappingMap burned areas using NBR differencing. fireburndNBRdisaster JS + PyOpen → BasicDisasterAdvanced Multi-Hazard Risk AssessmentCombine flood, fire, and terrain data for multi-hazard risk mapping. multi-hazardriskfloodfire JS + PyOpen → BasicTerrainBasic Slope & Aspect AnalysisCalculate slope and aspect from SRTM DEM. slopeaspectDEMterrain JS + PyOpen → BasicTerrainAdvanced Watershed DelineationDelineate watersheds using DEM-based hydrological analysis. watershedhydrologyDEMdrainage JS + PyOpen → BasicForestBasic Forest Cover Change (Hansen)Map forest cover change using Hansen Global Forest Change dataset. forestHansendeforestationtree cover JS + PyOpen → BasicForestIntermediate Deforestation Alert SystemCreate annual deforestation alerts using Hansen loss year data. deforestationalertHansenmonitoring JS + PyOpen → BasicForestAdvanced Forest Carbon Stock EstimationEstimate above-ground carbon stock from tree cover and VCF data. carbonforestbiomassestimation JS + PyOpen → BasicPopulation ExposureBasic Population Density MappingMap population density using WorldPop dataset. populationWorldPopdensity JS + PyOpen → BasicPopulation ExposureIntermediate Population × Hazard ExposureAnalyze population exposed to natural hazards (floods, heat). populationexposurehazardheat JS + PyOpen → BasicPopulation ExposureAdvanced Accessibility AnalysisAnalyze travel time to cities and healthcare facilities. accessibilitytravel timecitiespopulation JS + PyOpen → BasicSoilBasic Soil Property MappingMap soil organic carbon, clay content, and pH. soilorganic carbonclaypH JS + PyOpen → BasicSoilAdvanced Soil Erosion RiskEstimate soil erosion risk using RUSLE factors from terrain and land cover. soilerosionRUSLErisk JS + PyOpen → BasicCoastal & OceanBasic SST Anomaly AnalysisMap sea surface temperature anomalies using NOAA OI SST. SSToceananomalytemperature JS + PyOpen → BasicCoastal & OceanAdvanced Ocean Color Chlorophyll MonitoringMonitor chlorophyll-a concentrations using MODIS ocean color. chlorophylloceanMODISmarine JS + PyOpen →