Migrating to OpenTideConstants
Use the same reader with an OpenTideConstants (OTC) export in its file format. Each guide shows how to open the export, map a saved Slackwater ID and check a prediction.
Get all files on Downloads. Download the saved Slackwater ID map for the same release.
- XTide: a
.tcdharmonics file - Five steps. Set
HFILE_PATHto the OTC file. - A Slackwater Swift database reader: a
.tcdbfile - Four steps. Point the reader's database address at the OTC file.
- A Slackwater station-JSON engine: one file per station
- Four steps. Load an OTC station file through your existing loader.
What the release holds beyond an export file
An export file is the quickest way to move, and it is fine to stop there. It holds what its format can hold. Read through a library, the release holds the rest:
- Currents with both axes at each depth bin, where an export holds a current as one signed series.
- Daily corrections, which no export format stores.
- Values at full precision, where
.tcdrounds them and.tcdbstores single precision. - Both prediction profiles where the release has them. Some exports can store only the default prediction for a station.
- Subordinate stations predicted in one call, where station JSON needs the reference resolved by hand.
A library also opens the newest release by default; an export file is made from one release. Get started with a library.