Skip to content

About

No description, website, or topics provided.

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

Β 

History

29 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Satellite Data Search and Overpass Forecast Toolkit

DOI Python 3.10+ GPL-3.0 License 70 tests passing Built with Streamlit Google Earth Engine

An end-to-end toolkit for finding, reviewing, and downloading satellite imagery over an area of interest (AOI), plus tools for planning field data collection around future satellite passes.

Covers Sentinel-1, Sentinel-2, Landsat 8/9, NISAR, MODIS, and Sentinel-6, pulling each product from wherever it actually lives - Google Earth Engine for what's in its catalog, and each mission's real archive (ASF DAAC, LP DAAC, PO.DAAC via NASA CMR) for what isn't.

Two equivalent ways to use it:

  • An all-in-one interactive dashboard (app.py, built with Streamlit)
  • Six numbered Jupyter notebooks, one per pipeline stage

Both are backed by the exact same underlying code (sat_search.py, sat_download.py, sat_forecast.py, sat_orbit.py, aoi_export.py) β€” there's one implementation of each step, not two.

Pipeline overview: AOI, Search, Download, Forecast, Live Tracker, GitHub

Quick start

git clone https://github.com/SAY70/satellite-data-search.git
cd satellite-data-search
pip install -r requirements.txt
streamlit run app.py

First time? You'll need your own free Google Earth Engine project, and optionally a NASA Earthdata login for downloads. docs/pdf/00_Getting_Started.pdf walks through the whole setup in about 10 minutes, with no OAuth code to copy/paste.

Every pipeline stage also has its own short PDF guide in docs/pdf/, and is one click away from inside the app (πŸ“– icon on every tab).


See it in action

Real output from a live run over a test AOI near Starkville, Mississippi β€” 392 scenes found across 4 sensors, filtered down to 181:

Search results: 392 scenes found, 181 kept after filtering, with scene footprints drawn over the AOI


The six stages

πŸ—ΊοΈ 1. AOI Selection

Draw an area of interest on an interactive map β€” rectangle or polygon, one shape β€” and export it as GeoJSON, KML, and KMZ. Every later stage reads the same GeoJSON back in.

AOI selection flow: draw on map, export_all(), writes .geojson/.kml/.kmz

AOI tab: drawing tools on a satellite basemap with the saved AOI outlined in red and its area shown

πŸ” 2. Multi-Mission Search

Searches all six sensors over your AOI and date range in one pass, pulling each from wherever it actually lives, and merges everything into one filterable table with coverage %, cloud cover, resolution, and a footprint map.

Search flow: AOI splits into Google Earth Engine and NASA CMR archive, merges into combined results table

Every product variant is queried separately, so you can see exactly what each mission did and didn't collect:

Search in progress, showing per-product scene counts for every Sentinel, Landsat, NISAR and MODIS product

Results land in a sortable table with everything you need to filter on, and export to CSV:

Search results table showing product, sensor, scene id, date, level, resolution and AOI coverage columns

⬇️ 3. Download

Pulls the scenes you kept. Earth Engine-sourced products are clipped to your AOI (small, no login); CMR-sourced products (Sentinel-1, NISAR, Sentinel-6, HLS) come from their real archive as full files, and need a free NASA Earthdata login.

Download flow: filtered scenes split into Earth Engine clipped download and CMR archive download, both land in downloads folder

πŸ“… 4. Future Overpass Forecast

Rather than assuming each satellite's textbook nominal revisit cycle, this looks at ~60 days of actual recent acquisitions over your specific AOI, detects the real repeating gap pattern, and projects it forward.

Forecast flow: recent history feeds gap-pattern detection, projected forward into future predicted passes

Each platform's predicted passes, 90 days out β€” note how MODIS is near-daily while Landsat and Sentinel-2 cluster on their own repeat cycles:

Predicted overpass timeline chart showing per-platform passes for MODIS, NISAR, Sentinel-2 and Landsat

πŸ›°οΈ 5. Live Orbit Tracker

An independent, physics-based cross-check: pulls each satellite's live orbital elements (TLEs) from CelesTrak and propagates them forward with skyfield β€” no Earth Engine, no login, no acquisition history needed.

Live tracker flow: CelesTrak TLE feeds skyfield orbit propagation, produces real-time ground track vs AOI

Live orbit tracker map showing current satellite positions and their ground tracks relative to the AOI

πŸ”— 6. GitHub Sync

Backs up the project to your own private GitHub repository β€” creating it automatically the first time, and only committing/pushing when something actually changed. downloads/ is never pushed (a filename+size manifest is committed instead).

GitHub sync flow: local commit, check or create repo via API, git push with token, lands in private GitHub repo


Why the empirical forecast?

Rather than assuming each satellite's textbook nominal revisit cycle (10 days for Sentinel-2, 16 for Landsat, etc.), the forecast step looks at the last ~60 days of actual acquisitions over your specific AOI and detects the real repeating gap pattern β€” which can differ substantially from the nominal figure (e.g. an AOI in the overlap zone between two adjacent orbit paths gets imaged more often than the nominal cycle implies). The Live Orbit Tracker provides an independent, orbit-physics-based cross-check that doesn't depend on acquisition history at all.

Running the notebooks instead

jupyter lab

Then run, in order: 1_AOI_Selection.ipynb β†’ 2_Sentinel_Search.ipynb β†’ 3_Download_Filtered_Scenes.ipynb β†’ 4_Future_Overpass_Forecast.ipynb β†’ 5_Live_Orbit_Tracker.ipynb β†’ (optional) 6_Push_To_GitHub.ipynb.

Project structure

app.py                    # Streamlit dashboard (all 6 stages in one UI)
sat_search.py             # Multi-mission search (Earth Engine + CMR)
sat_download.py           # Scene download (Earth Engine + CMR)
sat_forecast.py           # Empirical revisit-pattern forecasting
sat_orbit.py               # Live TLE-based orbit tracking
aoi_export.py               # AOI export/import (GeoJSON/KML/KMZ)
1-6_*.ipynb                  # Notebook version of each pipeline stage
docs/pdf/                    # Guide PDFs (source: docs/generate_guides.py)
docs/images/                 # README diagrams (source: docs/generate_diagrams.py)

Requirements

Python 3.10+, and see requirements.txt. Free accounts needed: Google Earth Engine, NASA Earthdata (downloads only), GitHub (optional, for the sync feature).

Understanding the data

This toolkit finds and fetches scenes; these are where to learn what the pixels actually mean β€” band definitions, scaling factors, and QA bit flags.

Earth Engine collections used

Product Catalog page
Sentinel-2 L2A (Surface Reflectance) COPERNICUS/S2_SR_HARMONIZED
Sentinel-2 L1C (Top-of-Atmosphere) COPERNICUS/S2_HARMONIZED
Landsat 8 C2 L2 LANDSAT/LC08/C02/T1_L2
Landsat 9 C2 L2 LANDSAT/LC09/C02/T1_L2
MODIS Terra / Aqua Vegetation MOD13Q1 Β· MYD13Q1
MODIS Terra / Aqua Snow Cover MOD10A1 Β· MYD10A1

Archive-sourced products

Cross-checking a search

If a sensor returns zero scenes and you want to confirm that's real rather than a bug, run the same AOI and dates through the mission's own web tool:

Troubleshooting

Full details in docs/pdf/07_Troubleshooting.pdf (also in the app's πŸ“– Help tab). The errors people hit most:

Symptom Cause and fix
Cannot authenticate: Invalid request. Google retired the copy-paste OAuth flow. This toolkit uses auth_mode="localhost" β€” if you see this, you're on an older copy.
ASFAuthenticationError: Failed to log in (401) Usually not a wrong password β€” authorize "Alaska Satellite Facility Data Access" at your Earthdata apps, and use your Earthdata username, not your email.
A sensor returns 0 scenes Often correct. Sentinel-1 is tasked (not automatic), Sentinel-6 is ocean-only, NISAR is early-mission. Cross-check on ASF Vertex or Earthdata Search.
ensurepip ... non-zero exit status 1 on Windows Path too long (260-char limit), often a OneDrive-synced folder. Create the venv somewhere short like C:\venvs\sds.
401 Unauthorized from api.github.com Token expired, revoked, mistyped, or you used your password β€” GitHub stopped accepting passwords in 2021.
MODIS footprints cover the whole world Expected β€” MODIS products here are global mosaics, so aoi_cov_pct is always ~100 and not a useful filter.

Tests

pip install -r requirements-dev.txt
pytest

70 tests covering the pure logic β€” revisit-pattern detection, scene filtering, CMR footprint parsing, download path handling, AOI export round-tripping β€” plus cross-module consistency checks. No network, Earth Engine session, or credentials required.

Contributing

Bug reports, documentation fixes, and new sensors are all welcome β€” see CONTRIBUTING.md for how the code is organized and what it takes to add a mission.

Security

Credentials are never written to disk by this toolkit. See SECURITY.md for how each credential is handled and how to report a vulnerability privately.

Authors

Affiliation
Suraj Yadav (0000-0002-8158-7207) Department of Agricultural and Biological Engineering, Mississippi State University
Nuwan Wijewardane (0000-0001-8962-9451) Department of Agricultural and Biological Engineering, Mississippi State University
Xin Zhang School of Environmental, Civil, Agricultural and Mechanical Engineering, University of Georgia

License

GPL-3.0

Citing this work

Archived on Zenodo. Use the concept DOI to cite the software generally β€” it always resolves to the newest release:

Yadav, S., Wijewardane, N., & Zhang, X. (2026). Satellite Data Search and Overpass Forecast Toolkit. Zenodo. https://doi.org/10.5281/zenodo.22837461

To cite this exact version (v1.0.0), use the version DOI instead: 10.5281/zenodo.22837462.

Machine-readable metadata is in CITATION.cff β€” GitHub renders a "Cite this repository" button from it, and Zenodo reads it on each new release.

About

No description, website, or topics provided.

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages