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.1.tar.gz (5.6 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.1-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: satpass-0.1.1.tar.gz
  • Upload date:
  • Size: 5.6 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.1.tar.gz
Algorithm Hash digest
SHA256 25ada0d7ca16147b029fe221d7416017f1b60d687bcb240fb47941ce0aee0209
MD5 5f2a4e0bb97da698dc0ae53ffec7f33f
BLAKE2b-256 b136b0a82d47bee0870948e2518bcd383f5bdb063a5269d63e0a1cc1ad0616ee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: satpass-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 46028cb0f147c57e6dde90756b328a960a87d6c50c5a980966e71613bb80da04
MD5 72b2e80c2d870130a55472e4e1d8bd71
BLAKE2b-256 942b586e805b29eaa76477eb1a09e53c695b3e9da71604bc8ef46b5e8c4781df

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