Code to reproduce the figures in the associated manuscript on ocean tide (M2) estimation and validation from SWOT wide-swath altimetry, using a spatial-coherence variational harmonic method (VTide). Study regions: the Canadian Arctic Archipelago near Ulukhaktok, Brest, and Honolulu, validated against tide models, coastal tide gauges (TICON4), and nadir altimetry (CryoSat-2, Sentinel-3).
Scope: code-only, trimmed to exactly what regenerates the manuscript figures. The large SWOT/altimetry data and derived products (NetCDF grids, figures) are not included — they are downloaded and computed by the scripts.
poetry installcp .env.example .env # AVISO_USERNAME / AVISO_PASSWORD
cp .netrc.template ~/.netrc # NASA Earthdata (PODAAC)Configure Copernicus Marine via the copernicusmarine CLI.
The pipeline runs in stages — download, extract, harmonic analysis, bias correction, validation, figures. See REPRODUCTION.md for the ordered build sequence and the figure-to-script mapping, and scripts/README.md for what each script does.
The harmonic estimation approach is documented in vtide-method-spec.md.
MIT (c) 2026 Peter Matheston