gee-ntl-date-boundary-handling

Compute NTL statistics from VNP46A2 data across date windows with end-exclusive handling.

Updated Feb 19, 2026
One-click install
npx skills add https://github.com/guihousun/NTL-GPT-Clone --skill gee-ntl-date-boundary-handling
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gee-ntl-date-boundary-handling
Source: https://github.com/guihousun/NTL-GPT-Clone/tree/main/.ntl-gpt/skills/gee-ntl-date-boundary-handling
Command: npx skills add https://github.com/guihousun/NTL-GPT-Clone --skill gee-ntl-date-boundary-handling

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires earthengine-api, pandas, and includes scripts (resource) components.

What problem does it solve?

Handle GEE NTL date windows, first-night selection, and AOI boundary constraints with robust reductions for event impact analyses.

Core Features & Use Cases

  • Ensure correct end-exclusive date handling with filterDate and inclusive windows.
  • Support multiple buffers (e.g., 25/50/100 km) around an epicenter for ANTL statistics.
  • Enforce safety parameters (scale, maxPixels, tileScale) and boundary verification to reduce run-time failures.

Quick Start

Run a GEE ANTL date-boundary analysis around the defined epicenter for baseline, first-night, and recovery periods and export the results to CSV.

Frequently Asked Questions about gee-ntl-date-boundary-handling

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compute night-time lights statistics for event impact windows in Google Earth Engine?

You compute night-time lights statistics by defining baseline, first-night, and recovery windows around an event using VNP46A2 data, then performing region reductions over AOI buffers to extract temporal impact metrics.

How does end-exclusive date handling work for NTL time series in GEE?

End-exclusive date handling in GEE uses filterDate to define inclusive start dates while excluding the end date, preventing overlapping NTL observations between adjacent analysis windows. This ensures temporal boundaries remain strictly separated.

Why do my GEE reduceRegion computations fail when analyzing large AOI buffers?

GEE reduceRegion computations fail when analyzing large AOI buffers due to exceeding pixel limits or scale constraints. Enforce safety parameters by explicitly setting scale, maxPixels, and tileScale to prevent run-time failures during region reduction.

Can I calculate NTL statistics for multiple buffer distances around an epicenter?

Yes, you can calculate NTL statistics for multiple buffer distances such as 25, 50, and 100 kilometers around an epicenter. The analysis applies confirmed boundary geometries to ensure reliable region reductions across all buffer zones.

What is the best way to handle uncertain AOI boundaries when extracting VNP46A2 data?

The best way to handle uncertain AOI boundaries is to rely on confirmed boundary geometries or generate explicit spatial buffers around a known point like an epicenter. This boundary verification ensures safe and reliable data extraction.

Do I need the earthengine-api and pandas to export GEE NTL analysis results?

Yes, you need the earthengine-api to access and process VNP46A2 data and pandas to structure the resulting NTL statistics. These dependencies facilitate computing the reductions and exporting the final date-boundary analysis to CSV.