Using OTC data in XTide

Open an OTC harmonics file with XTide 2.16. Start with the file that holds defaults for stations the format can represent.

Get the file

Use it in XTide

  1. Get a dated OTC .tcd file from Downloads, under “Exports”. Start with the recommended file. Use the complete file instead when you want the alternatives. Loading both gives duplicate records.
  2. Keep your old harmonics file. Set HFILE_PATH to the absolute path of the OTC file for this XTide process.
  3. Run tide -m l to check that the records loaded. The list shortens some names. Use the full record name from the report, including the OTC ID and any suffix.
  4. Predict with that name, for example:
    export HFILE_PATH="$PWD/OTC_20261130.tcd"
    tide -l "Plum Island, Merrimack River Entrance [OTC-000d594d]" -m r -u m -z -b "2026-12-01 00:00" -e "2026-12-02 00:00" -s "01:00"
    The command prints times and heights in metres. The -z flag selects its zero-offset time display. Use the report to confirm the selected record.
  5. If you select an alternative, copy its exact record name from the report.

Find a saved station

For a station saved in XTide, search for its name in the OTC station catalog and confirm its location. Find that OTC station ID in the XTide report to get the record name.

For a saved Slackwater ID, download the ID map to the same directory. Replace noaa/8440452 with your exact saved ID.

jq -er --arg saved 'noaa/8440452' '.stations[$saved]' OTC_20261130-slackwater-id-map.json

This example returns OTC-000d594d for Plum Island. Find that ID in the XTide report. If the map has no entry, keep the saved ID and locate the station manually.

What this file carries

The default file covers 14,295 stations and records their sources and terms. The free XTide catalog lists 8,064 records. Across 184 paired mean-level tide heights at 23 stations, the largest difference from the OTC SDK was 0.349 mm.

The complete file writes alternative sets as separate records and includes extra reference records for dependent stations. A record's notes give its full name, set, source, licence, attribution and quality flags.

The export's report, OTC_{YYYYMMDD}-tcd-report.json, lists each station, the records written for it, and each record the format could not hold. The format cannot carry everything in a release:

  • A tidal current is stored as one signed series along the major axis of a depth bin, not as the two-axis ellipse.
  • A record uses the file's yearly astronomical factors. This export leaves out sets that require daily corrections.
  • Names are shortened to fit the format's length limit. The full name stays in the record's notes.
  • Amplitudes, phases and positions are rounded to the format's precision.
  • A station listed by name and position only has no record.

The release files keep the full values. See Data format.

Next: a .tcd record cannot hold currents with both axes at each depth bin, daily corrections, or values at full precision, and choosing another set means choosing another record. Read through a library, the release has all of these. Get started.