Universal Code Hub Upgrade
Script Library
ResearchOpticalAdvancedpaid tier

PlanetScope / NICFI Monthly Mosaics — Sub-Daily Change

4.77 m monthly mosaics (NICFI/Planet) for high-resolution change detection in the tropics.

Pipeline (4 steps)
  1. Pull NICFI monthly mosaic for month A & month B
  2. Compute NDVI for each month
  3. ΔNDVI = B − A; threshold for vegetation loss
  4. Export COG; provide R/G/N true-colour panels
Datasets
  • planet-nicfi
AOI modes
adminassetdraw
Simulated previewPaste the script in Earth Engine for live results
Outputs the script produces
map ΔNDVI map
map True colour A / B
table Vegetation loss area
Open Code Editor ↗
adv-planet-monthly.js · 15 lines
// Account has paid NICFI access enabled.
var nicfi = ee.ImageCollection('projects/planet-nicfi/assets/basemaps/africa');
var monthA = nicfi.filterDate('2023-01-01','2023-02-01').first();
var monthB = nicfi.filterDate('2024-01-01','2024-02-01').first();
function ndvi(img){ return img.normalizedDifference(['N','R']).rename('NDVI'); }
var diff = ndvi(monthB).subtract(ndvi(monthA)).rename('dNDVI');

Map.centerObject(aoi, 11);
Map.addLayer(monthA, {bands:['R','G','B'], min:64, max:5454, gamma:1.6}, 'NICFI ' + 'A', false);
Map.addLayer(monthB, {bands:['R','G','B'], min:64, max:5454, gamma:1.6}, 'NICFI ' + 'B');
Map.addLayer(diff, {min:-0.4, max:0.4, palette:['#b91c1c','#f5f5f5','#15803d']}, 'ΔNDVI');

Export.image.toDrive({image: diff.clip(aoi), description: 'NICFI_dNDVI',
  folder: 'gee_exports', region: aoi, scale: 4.77, maxPixels: 1e13,
  fileFormat: 'GeoTIFF', formatOptions: {cloudOptimized: true}});
#Planet#NICFI#high resolution#tropics#vegetation loss