Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

CMEMS SSH products — along-track, SWOT, and binned

A side-by-side tour of the Copernicus Marine sea-surface-height family: six L3 along-track missions (Sentinel-3A/3B, Sentinel-6A, Jason follow-on H2B, CryoSat-2, Saral/AltiKa, SWOT nadir), then their gridded reductions via xrtoolz.interpolate.bin_2d, and finally a comparison against two L4 reanalyses — the standard all-sat product and the SWOT-aware SWOS demo.

Window: 2026-01-01 → 2026-01-15 (15 days), Gulf Stream [-70°, -50°] × [30°, 45°]. The 15-day window keeps the notebook quick to re-execute while still capturing several passes per mission across the eddying jet.

Notes on the data path. CMEMS now serves L3 along-track as a long-format observations table (sqlite-backed), so we use copernicusmarine.read_dataframe for L3 and open_dataset for the L4 grids. The standalone SWOT KaRIn L3 wide-swath product is not in the CMEMS catalog; the closest stand-in is the SWOS L4 demo (cmems_obs-sl_glo_phy-ssh_nrt_demo-allsat-swos-l4-duacs-0.125deg_P1D-i), which fuses SWOT KaRIn observations into the all-sat constellation.

Credentials live in the project-root .env:

COPERNICUSMARINE_SERVICE_USERNAME=...
COPERNICUSMARINE_SERVICE_PASSWORD=...

1. Setup

/home/azureuser/localfiles/xrtoolz/.venv/lib/python3.13/site-packages/tqdm/auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html
  from .autonotebook import tqdm as notebook_tqdm
True
((81,), (61,))

2. Multi-mission L3 along-track

Six conventional-altimeter / nadir missions, each pulled with cm.read_dataframe, then concatenated in long format. The dataframe has one row per (time, longitude, latitude, variable) tuple — we keep variable == 'sla_filtered' (the operational along-track SLA used by DUACS for L4 mapping).

INFO - 2026-04-28T09:52:45Z - Selected dataset version: "202311"
INFO - 2026-04-28T09:52:45Z - Selected dataset part: "default"
INFO - 2026-04-28T09:52:57Z - Selected dataset version: "202311"
INFO - 2026-04-28T09:52:57Z - Selected dataset part: "default"
INFO - 2026-04-28T09:53:12Z - Selected dataset version: "202311"
INFO - 2026-04-28T09:53:12Z - Selected dataset part: "default"
INFO - 2026-04-28T09:53:22Z - Selected dataset version: "202311"
INFO - 2026-04-28T09:53:22Z - Selected dataset part: "default"
INFO - 2026-04-28T09:53:35Z - Selected dataset version: "202311"
INFO - 2026-04-28T09:53:35Z - Selected dataset part: "default"
INFO - 2026-04-28T09:53:47Z - Selected dataset version: "202311"
INFO - 2026-04-28T09:53:47Z - Selected dataset part: "default"
INFO - 2026-04-28T09:53:57Z - Selected dataset version: "202311"
INFO - 2026-04-28T09:53:57Z - Selected dataset part: "default"
mission S6A 5728 S3A 5562 S3B 5517 C2N 5307 H2B 5235 AL 4990 SWOT 4839 dtype: int64

Track maps

One panel per mission; colour is filtered SLA (m).

<Figure size 1300x650 with 9 Axes>

Zoom: how thin are the nadir tracks vs SWOT (KaRIn)?

A small sub-region ([-65°, -57°] × [34°, 40°]) where the individual passes are visible as thin lines — each conventional altimeter, including SWOT-nadir, has the same ~6–7 km nadir footprint. The right panel shows the SWOS L4 demo over the same sub-region: the 2D field is what KaRIn buys you, even after the operational mapping smooths the swath onto a regular grid. Compare the line-thinness on the left to the filled 2D field on the right.

INFO - 2026-04-28T09:54:09Z - Selected dataset version: "202511"
INFO - 2026-04-28T09:54:09Z - Selected dataset part: "default"
<Figure size 1200x500 with 3 Axes>

3. SWOT — what makes it different

SWOT carries both a conventional nadir altimeter (the swon stream above) and the wide-swath KaRIn interferometer that maps a ~120 km swath at ~2 km posting. The nadir stream is part of the standard L3 along-track family; the wide-swath product is not in the CMEMS catalog yet (it ships separately via AVISO and the JPL PO.DAAC). Here we show the SWOT nadir track on its own and compare it to the SWOT-aware L4 SWOS demo, which assimilates KaRIn into the all-sat L4.

<Figure size 800x500 with 2 Axes>
INFO - 2026-04-28T09:54:16Z - Selected dataset version: "202511"
INFO - 2026-04-28T09:54:16Z - Selected dataset part: "default"
([np.str_('adt'), np.str_('err_sla'), np.str_('err_ugosa'), np.str_('err_vgosa'), np.str_('flag_ice'), np.str_('sla'), np.str_('ugos'), np.str_('ugosa'), np.str_('vgos'), np.str_('vgosa')], {'time': 15, 'latitude': 120, 'longitude': 160})

Single-day comparison: one nadir track vs one SWOT pass

Pick a single day in the window and plot each mission’s full coverage for that day. All conventional altimeters — including SWOT-nadir — look the same: thin 1 Hz traces along the satellite ground track. What makes SWOT genuinely different is the wide-swath KaRIn instrument it carries alongside the nadir, which the nadir-only L3 stream does not expose. The right panel shows the SWOS L4 SLA for the same day with the SWOT-nadir trace overlaid in black: that 2D background field is what KaRIn buys (here laundered through OI on its way into a regular grid).

<Figure size 1300x520 with 3 Axes>

4. Bin each mission onto a common 0.25° grid

bin_2d aggregates a long-format DataArray onto a regular Grid via scipy.stats.binned_statistic_2d. We bin each mission’s 15-day filtered SLA stream as a mean and the multi-mission stack as a count to show sampling density.

Loading...

Per-mission binned mean SLA

Same colour scale as the scatter panels.

<Figure size 1300x650 with 8 Axes>

Multi-mission stack: mean and sampling density

<Figure size 1200x450 with 4 Axes>

5. Sidebar — gridded L4 reanalyses for the same window

Two operational L4 grids over the same 15 days:

  • NRT all-sat L4 at 0.125° — the standard DUACS optimal-interpolation product driven by the L3 along-track stack from §2.

  • SWOS L4 demo at 0.125° — adds SWOT KaRIn observations to the same all-sat L4. The visual contrast against the NRT all-sat L4 is the closest thing to seeing the KaRIn signal without leaving CMEMS.

INFO - 2026-04-28T09:54:25Z - Selected dataset version: "202506"
INFO - 2026-04-28T09:54:25Z - Selected dataset part: "default"
([np.str_('adt'), np.str_('err_sla'), np.str_('err_ugosa'), np.str_('err_vgosa'), np.str_('flag_ice'), np.str_('sla'), np.str_('ugos'), np.str_('ugosa'), np.str_('vgos'), np.str_('vgosa')], {'time': 15, 'latitude': 120, 'longitude': 160})
<Figure size 1500x420 with 6 Axes>

6. Bin vs L4 — visual cross-check

Our naïve 0.25° binning of the L3 along-track stack against the operational L4 OI product, both as 15-day means. The L4 grid is smoother because it applies an explicit covariance model; the bin reflects raw sampling. The comparison is qualitative — not a validation.

<Figure size 1100x440 with 4 Axes>

Takeaways

  • The L3 along-track family is observation-shaped: per-mission, 1 Hz nadir traces, served as a long-format dataframe — bin or interpolate to get a grid.

  • SWOT-nadir (swon) shows up as one more mission in that stack; the wide-swath KaRIn product lives outside CMEMS at present.

  • The SWOS L4 demo is the practical way to see the KaRIn fingerprint without changing data centers — its L4 differs from the all-sat L4 in the regions KaRIn happens to cover.

  • The crude bin_2d reduction recovers the broad SLA pattern but lacks the spatial smoothness of the OI L4 grid; binning is mainly useful as an inspection / sampling-density tool, not a replacement for the L4.