# mgr-predictor v3.2.3 **Mercurial revision 5770:c90c3015e72d | 2026-05-22** --- ## Description `mgr-predictor` predicts tides from a given **mgr (tidal constituents) file**, which contains tidal wave amplitudes and phase lags for one or multiple stations. The input file can be in **ASCII or NetCDF format**. If start and end dates are provided, the tool: - Predicts tides for the specified period. - Optionally computes **spring/neap tide times** (if `--extrema` is enabled). --- ## Usage ```bash mgr-predictor -m input_mgr_file -s start_date -f end_date -i time_incrementUNITS -w wave1 [wave2 ...] [OPTIONS] [station1 station2 ...] ``` --- ## Options | Option | Description | | ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `-h`, `--help` | Display help and exit. | | `-m ` | Path to the input **mgr file** (contains tidal wave amplitudes and phase lags). | | `-s ` | Start date for predictions. See [Date Formats](#date-formats9). | | `-f ` | End date for predictions. See [Date Formats](#date-formats9). | | `-i ` | Time increment for predictions. **No space** between value and unit (e.g., `-i600s`). Supported units: `s` (seconds, default), `m` (minutes), `h` (hours), `d` (days). Default: `3600s` (1 hour). | | `-w [wave2 ...]` | List of tidal waves to predict. | | `--nodal=no` | Disable nodal corrections. | | `--extrema` | **Not fully functional.** Enable computation of extrema and spring/neap tide times. | | `-o ` | **Not used.** Path to the ASCII output file. Default: `predictions.dat`. | | `--format ` | Specify the format of the input mgr file (e.g., `LEGOS_ASCII`). | | `--time