tide start

From WikiROMS
Revision as of 19:16, 31 March 2008 by Robertson (talk | contribs) (TIDE START moved to tide start: We are listing these under variable names not .in keywords)
Jump to navigationJump to search

TIDE_START

If the time origin for the harmonic tidal constituents is not the same as the time origin used internally by ROMS then the tidal phase will be in error. To accommodate this possibility, the parameter TIDE_START in units of days can be used to make the appropriate shift to the phase of the harmonic tidal forcing. The value set in ocean.in.

The parameter is used in routine set_tides.F after conversion into seconds:


For example, if the date corresponding to ocean_time=0 in ROMS is 1-Jan-2006, i.e. ocean_time has the netcdf units attribute "days since 2006-01-01 00:00:00", but the harmonic forcing data was computed assuming a base date for time of 2005-01-01 00:00:00, then set the value with

     TIDE_START = -365.0d0              ! days

Note that TIDE_START will typically be negative for tide harmonic reference times that predate the model time origin.

The value of DSTART does not affect how the user sets TIDE_START.

Tidal forcing is activated by CPP options SSH_TIDES and UV_TIDES and requires a tide harmonic forcing netcdf file.