# adcp v3.2.3 **Mercurial revision 5770:c90c3015e72d | 2026-05-22** --- ## Description `adcp` is a tool designed to **detide comodo-compliant NetCDF data with many holes** (e.g., missing or masked values) and produce **tidal atlases**. It performs spectral analysis on a given list of tidal waves and generates: - Detided output files. - Tidal atlases (amplitude and phase maps for each tidal constituent). > **Note:** The time variable in input files **must comply with the [CF conventions](http://cfconventions.org/cf-conventions/cf-conventions.html#time-coordinate)**. --- ## Usage ```bash adcp file1 [file2 ...] [OPTIONS] -d wave1 [wave2 ...] ``` --- ## Options ### **General Options** | Option | Description | | -------------- | ---------------------- | | `--help`, `-h` | Display help and exit. | --- ### **Input/Output Options** | Option | Description | | ------------------------ | -------------------------------------------------------------------------------------------------------------------------------- | | `-l ` | Path to a file containing a list of input files (overrides command-line file list). | | `-v [var2 ...]` | List of variables to detide (e.g., `ssh`, `tem`, `sal`, `XE`). | | `-g ` | Path to the grid file. Required if coordinates are missing in input files and you want to produce atlases or use control points. | | `-d [wave2 ...]` | List of tidal waves to analyze (e.g., `Q1`, `O1`, `P1`, `K1`, `N2`, `M2`, `S2`, `K2`, `M4`, `MS4`). | | `-p ` | Output directory. **Recommended:** Use a different hard drive for detiding to improve performance. | --- ### **Atlas Options** | Option | Description | | ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | | `-a` | Produce tidal atlases. | | `--only-atlases` | Produce **only** atlases (no detiding). Implies `-a`. | | `--load-atlases` | Load existing atlases (no analysis). Currently disables `--control`. | | `-1` | Store all atlases in **one file per variable**. ⚠️ **Warning:** Files produced with this option **cannot** be used with `comodo-admittance`. | --- ### **Analysis Options** | Option | Description | | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------- | | `-c `, `--control ` | Path to a file containing control points (ASCII format: number of points followed by `longitude latitude [layer]`). | | `--nodal=no` | Disable nodal corrections. | | `--take-first` | If time frames are simultaneous, use the **first** one. | | `--take-last` | If time frames are simultaneous, use the **last** one. | | `--band-cut ` | Band-cut filter: specify two frequencies (in deg/h) to exclude waves outside this range. | | `--averaging