English | 简体中文
Unified multi-satellite scientific data discovery, ordering, archive indexing, and synchronization service for nuist-fy-lab.
satellite-data provides a central web portal, HTTP API, and thin CLI (satellite) for discovering, ordering, and indexing multi-source earth observation and reanalysis datasets.
The unified monorepo cleanly separates catalogue discovery & order management from bulk data transfer across cooperating local processes:
satellited: Manages official product catalogues, availability calendars, local archive indexing (SQLite or PostgreSQL), provider credentials/routes, and persistent acquisition orders.satellite-data-downloader: Consumes approved asset tasks over a local Unix socket ($XDG_RUNTIME_DIR) and handles provider-isolated resumable downloads, checksum verification, staging, and atomic archive promotion.satellite-checksum-sidecar: Independently audits historical archived granules against official upstream checksums at throttled I/O rates without blocking live downloads.satellite(thin CLI): Submits orders and queries catalogue or task status via Bearer API keys—never storing upstream provider credentials or executing transfers locally.
Browser / satellite CLI
│
│ HTTPS (Session / CLI API Key)
▼
satellited ◄───────────► SQLite (state & archive index)
│
│ Local Unix Sockets (tasks / routes / completion events)
▼
satellite-data-downloader ──► Verified Scientific Archive
All providers use official cloud object stores, STAC/CMR catalogues, or authenticated APIs—avoiding retired FTP endpoints and HTML scraping.
| Source | Products / Instruments | Discovery & Transfer Mechanism |
|---|---|---|
| GOES-16 / 17 / 18 / 19 | ABI L1b / L2 | NOAA NODD object hierarchy (Google Cloud Storage primary) |
| Himawari-8 / 9 | AHI Full-Disk / Target | NOAA NODD anonymous S3 |
| MODIS (Terra / Aqua) | Collection 6.1 / 7 L1B & L2 | LAADS API v2 catalogue + token-authenticated resumable HTTPS |
| VIIRS (SNPP / NOAA-20 / 21) | L1B & L2 science products | NASA CMR / LAADS + Earthdata Cloud HTTPS |
| MTG (Meteosat-12) | FCI | EUMETSAT Data Store OpenSearch + OAuth2 |
| IASI / Metop-A, -B, -C | L1C spectra / principal components, L2 sounding and trace-gas profiles, instrument noise covariance | EUMETSAT Data Store Browse / OpenSearch + OAuth2 |
| IASI-NG / Metop-SG-A1 | Pre-operational global L1C calibrated spectral radiance | EUMETSAT Data Store Browse / OpenSearch + OAuth2 |
| EarthCARE | L1 / L2 orbits | ESA MAAP STAC + OIDC-protected HTTPS |
| CALIPSO | CALIOP L1 / L2 | NASA CMR + Earthdata Login ASDC HTTPS |
| CloudSat | 2B-GEOPROF / CPR | CIRA DPC THREDDS catalogue + authenticated HTTPServer |
| ERA5 / ERA5-Land | Hourly & monthly single/pressure levels | Copernicus CDS STAC catalogue + asynchronous subset retrieval |
- Download Tasks & Three-Layer Deduplication: Submit up to 32 products once, with independent observation intervals, calendar periods, scan times and bands. The centre schedules them automatically. Deduplication covers identical user submissions, concurrent tasks targeting the same upstream asset, and verified archived files. See product time selection.
- Automated Availability Calendar & Archive Indexing: Tracks daily and sub-daily band/slot coverage across fixed-cadence geostationary grids and event-based overpass timelines. Background indexers incrementally reconcile local filesystem changes and upstream availability with adaptive per-provider rate pacing.
- Centralized Credential & Route Governance: Upstream tokens, OAuth2/OIDC credentials, CDS keys, and proxy routes are encrypted at rest inside
satellitedand managed exclusively by administrators. - Unified ERA5 On-Demand Retrieval: Supports both persistent multi-day/multi-month archive orders (automatically split, polled, verified, and archived) and low-level interactive CDS job inspection.
Sign in to the web portal, create a CLI API Key (satellite_v1_...), and configure the client:
satellite config setThe CLI stores only the server URL and API Key in ~/.config/satellite/config.json (0600). You may also override them in automated environments via SATELLITE_SERVER and SATELLITE_API_KEY (or custom path SATELLITE_CONFIG).
# List available sources and search products
satellite source list
satellite product list --search temperature --json
satellite product list --source earthcare --level L2
satellite product show --product goes18:ABI-L1b-RadF
# Query official granules for a single UTC day or an interval (up to 31 days)
satellite query list --product goes18:ABI-L1b-RadF --day 2024-01-01 --band 6
satellite query list \
--source goes18 \
--collection goes18:ABI-L1b-RadF \
--start 2026-09-22T09:00:00Z \
--end 2026-09-22T10:00:00ZOrders are persistent and execute asynchronously on the server; the CLI can disconnect immediately after submission.
# Single-product order with band and hourly slot filters
satellite download submit \
--product goes18:ABI-L1b-RadF \
--start 2023-06-01 --end 2023-06-30 \
--band 6 --hourly
# Multi-product batch order
satellite download submit \
--product modis:C1443536017-LAADS \
--product goes18:ABI-L1b-RadF \
--start 2023-05-03 --end 2023-05-10
# Unified ERA5 subset order (automatically split by UTC day/month and archived)
satellite download submit \
--product era5:reanalysis-era5-single-levels \
--start 2024-01-01 --end 2024-01-02 \
--variable 2m_temperature \
--area 32.25,118.5,32,118.75
# Check order progress
satellite download status --id 1 --json
satellite download batch-status --id 1Note: Low-level CDS inspection commands (
satellite era5 schema|submit|status|result) are also available for administrator keys when interacting with raw upstream CDS jobs without creating archive orders.
All portal pages and API endpoints require either an authenticated web session (GET /login) or a Bearer CLI API Key:
| Endpoint | Description |
|---|---|
GET /healthz |
Service health check |
GET /api/v1/sources |
List configured satellite and reanalysis providers |
GET /api/v1/catalog?source=<id> |
Browse stored official product catalogue |
GET /api/v1/search?... |
Interactive granule search (up to 7-day window) |
POST /api/v1/download-tasks |
Submit one task with independent settings for each product |
GET /api/v1/download-tasks?page=1 |
List tasks, at most 30 per page |
GET /api/v1/archive/index-status |
Local archive scan status, year coverage, and index queue state |
GET /api/v1/monitor/downloads?window=1h |
Provider-isolated transfer throughput and worker metrics (realtime to 1w) |
GET /api/v1/era5/schema |
Official CDS parameter schema for ERA5 collections |
cmd/
satellite/ Thin user CLI
satellited/ Central API and embedded web daemon
satellite-data-downloader/ Provider-isolated resumable transfer daemon
satellite-checksum-sidecar/ Low-priority historical archive checksum auditor
internal/
app/ Service orchestration and provider wiring
archiveevent/ Shared IPC contract for archive completion notifications
central/ Encrypted credential vault & local authorization gateway
dataplane/ Downloader queue, IPC server, transfer engine & worker pools
downloadcoord/ Persistent order scheduling, deduplication & ERA5 orchestration
httpapi/ REST & SSE endpoints
indexer/ Archive filesystem scanner & official calendar indexer
model/ Source / Collection / Granule / Asset domain models
objectstore/ Anonymous GCS and S3 listing clients
provider/ Source adapters (calipso, cloudsat, earthcare, era5, eumetsat: MTG + IASI, goes, himawari, laads)
state/ SQLite & lossless PostgreSQL persistence layer
web/ Embedded dependency-free web interface
deploy/ User-level systemd units, c2ln1 host guards & maintenance tools
docs/ Architecture and operations documentation
GitHub Actions tests and builds affected modules (CGO_ENABLED=0, GOAMD64=v1 static binaries). ci-latest always contains all four binaries plus deployment.tar.gz: unchanged assets are reused after digest and dependency checks, with each asset's actual source commit recorded in build-manifest.json. See Module CI/CD for selection rules, release verification and manual full builds. The legacy satellite-data-downloader repository is archived; development and releases use this monorepo.
Production cluster node c2ln1 runs user-level systemd units restricted to c2ln1 via both ConditionHost=c2ln1 (deploy/systemd/c2ln1/*.conf) and SATELLITE_REQUIRE_HOST=c2ln1.
Key environment variables for satellited:
| Variable | Purpose | Example / Default |
|---|---|---|
SATELLITED_STATE_DB |
Central state & index SQLite database | ~/.local/state/satellite-data/state.sqlite3 |
SATELLITE_CENTRAL_SOCKET |
Private IPC socket shared with downloader | $XDG_RUNTIME_DIR/satellite-data/central.sock |
SATELLITED_ARCHIVE_ROOT |
General satellite archive root | /data/archive/satellite |
SATELLITED_EARTHCARE_ARCHIVE |
Dedicated EarthCARE archive root | /data/archive/EarthCare |
SATELLITED_ERA5_ARCHIVE |
Dedicated ERA5 archive root | /data/archive/ERA5 |
SATELLITED_HIMAWARI_ARCHIVE |
Historical Himawari archive root | /data/archive/Himawari |