Skip to main content

Get the next satellite overpass (Sentinel-1, Sentinel-2, Landsat-8, Landsat-9) for any location.

Project description

satpass

Get the next satellite overpass (Sentinel-1, Sentinel-2, Landsat-8, Landsat-9) for any location.

Acquisition plans are fetched from ESA and USGS and cached locally for 12 hours.

Installation

pip install satpass

Or with uv:

uv add satpass

Usage

Command Line

satpass <lat> <lon> <satellite> [--date YYYY-MM-DD]

Satellites: sentinel1, sentinel2, landsat8, landsat9, landsat

Examples:

# Next Sentinel-2 overpass from today
satpass 59.706 28.433 sentinel2

# Next Sentinel-2 overpass on or after a specific date
satpass 59.70629085831534 28.433021598704343 sentinel2 --date 2026-03-25

# Next Landsat overpass (either L8 or L9, whichever is sooner)
satpass 34.05 -118.24 landsat --date 2026-03-25

Output (JSON):

{
  "satellite": "sentinel2",
  "date": "2026-03-26 10:14:22+00:00",
  "orbit": 81
}

Python API

from satpass import get_next_overpass
from datetime import datetime, timezone

result = get_next_overpass(
    lat=59.70629085831534,
    lon=28.433021598704343,
    satellite="sentinel2",
    after_date=datetime(2026, 3, 25, tzinfo=timezone.utc),
)
print(result)
# {'satellite': 'sentinel2', 'date': datetime(...), 'orbit': 81}

after_date defaults to now if omitted.

Data Sources

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

satpass-0.1.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

satpass-0.1.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file satpass-0.1.0.tar.gz.

File metadata

  • Download URL: satpass-0.1.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for satpass-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5efa4cc4546226a05234a33b7d9e43ac42b682964f9313317c4e5bd79337f3dc
MD5 8bdad36c4c419904ca730be114d5d0c3
BLAKE2b-256 160fb6b90aec8086abe6ceaf0d65b2cb5fa3b99ab7d59a401a6d34006cf39354

See more details on using hashes here.

File details

Details for the file satpass-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: satpass-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for satpass-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 70f5366f3deec551fcefc6caa1898bf418298209afba4f3340df5e94565875a0
MD5 5d5d9fd50d743732a9afb953084e416c
BLAKE2b-256 69fca4eb558839a1a1a3754e343536401e01144e0966358219b167b206f0119c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page