Difference between revisions of "tide start"

From WikiROMS
Jump to navigationJump to search
m (TIDE START moved to tide start: We are listing these under variable names not .in keywords)   (change visibility)
m (Text replacement - "ocean.in" to "roms.in")   (change visibility)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= TIDE_START =
<div class="title">tide_start</div>
{{#lst:Variables|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]].
----
 
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 [[roms.in]].


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


<math>\eta = \sum_{i=1}^N A_i \cos \frac{2\pi (t-TIDE\_START - \phi_i)}{T_i} </math>
<math display="block">\eta = \sum_{i=1}^{N} A_i \cos \frac{2\pi (t-\text{tide}{\_}\text{start} - \phi_i)}{T_i}</math>




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
For example, if the date corresponding to <math>\text{tdays}=0</math> 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 in your [[roms.in]] with


       TIDE_START = -365.0d0              ! days
       TIDE_START = -365.0d0              ! days
Line 14: Line 17:
Note that TIDE_START will typically be negative for tide harmonic reference times that predate the model time origin.
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.  
The value of [[dstart|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.
Tidal forcing is activated by CPP options [[SSH_TIDES]] and [[UV_TIDES]] and requires a tide harmonic forcing netcdf file.

Latest revision as of 15:13, 17 July 2019

tide_start
tide_start
Reference time origin for tidal forcing. This is the time used when processing input tidal model data. It is needed in routine set_tides.F to compute the correct phase lag with respect ROMS/TOMS initialization time.
option =
units = days
routine = mod_scalars.F
keyword = TIDE_START
input = roms.in

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 roms.in.

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


For example, if the date corresponding to 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 in your roms.in 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.