# altimetry-detidor v3.2.3 **Mercurial revision 5770:c90c3015e72d | 2026-05-22** --- ## Description `altimetry-detidor` is a tool designed to **detide altimetric data series** from **X-TRACK** inputs. It is used by **CTOH** (Centre de Topographie des Océans et de l'Hydrosphère). The tool processes input files (e.g., `input.nc`) and generates: - `input.mgr` (or `input.mgr.nc` if `-f NETCDF` is specified) - `input.mgr.stat` (statistics file) - `input.res.dat` (residual data file, unless `-np` is used) --- ## Usage ```bash altimetry-detidor OPTIONS input.nc ``` --- ## Options ### **General Options** | Option | Description | | ------------------ | ------------------------------------------------------------------- | | `--help`, `-h` | Display help and exit. | | `--info` | Show Rayleigh criteria for several missions and exit. | | `--debug` | Enable verbose debugging output. | | `-verbose ` | Set verbosity level (e.g., `-verbose 2` enables additional output). | --- ### **Spectrum and Corrections** | Option | Description | | ----------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | | `-spectrum ` | Name of the spectrum for analysis. Default: `COASTAL`. See [Spectrum](#spectra) for available options. | | `--dac=no` | Disable **GDR DAC correction**. | | `--tide=no` | Disable **GDR tide correction**. Use `-o` to specify custom ocean tide corrections. | | `-a ` | Atlas name for **tidal dealiasing spectrum**. Available options: `GLORYS-v2`, `FES2004`, `FES2012`, `FES2014`, `GOT4.7`, `MEDSEA`, `NEA`, `PERSIAN`. | | `-o ` | Apply **custom ocean tide correction** instead of GDR tide. Requires 3 parameters: convention, amplitude variable name, and phase lag variable name. | | `-l ` | Apply **load tide correction** (for geocentric series only). Requires 3 parameters: convention, amplitude variable name, and phase lag variable name. | | `-ogcm_parameters ` | Apply **GLORYS corrections**. Requires 3 parameters: convention, amplitude variable name, and phase lag variable name. | --- ### **Date and Data Filtering** | Option | Description | | ----------------- | --------------------------------------------------------------------------------------- | | `-s ` | Start date for analysis (format: `dd/mm/yyyy`). | | `-e ` | End date for analysis (format: `dd/mm/yyyy`). | | `-latmin ` | Minimum absolute latitude to exclude (e.g., `-latmin 10` excludes latitudes below 10°). | --- ### **Analysis and Output** | Option | Description | | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | | `-cm` | Atlas amplitude units are in **centimeters** (default: meters). | | `-percent `, `-m ` | Minimum number of elements in the time series (default: `160`). | | `--sla-range <[min:max]>` | Validity range for SLA (Sea Level Anomaly). Values outside this range are blacklisted. Default: `[-INFINITY:+INFINITY]` (no blacklisting). | | `--auto-parse` | Use **matrix coefficient** instead of Rayleigh criterion for tidal wave separability. | | `--max-ratio ` | Cross-correlation threshold in harmonic matrix for constituent separability (default: `0.3`). | | `--averaging