You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/tides.rst
+54Lines changed: 54 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,60 @@ not been tested with the global tide models.
40
40
Other options include "ln_tide" a boolean that when set to true will generate tidal boundaries. "sn_tide_model" is a string that defines the model to use, currently only
41
41
"fes" or "tpxo" are supported. "ln_trans" is a boolean that when set to true will interpolate transport rather than velocities.
42
42
43
+
Harmonic Output Checker
44
+
-----------------------
45
+
46
+
There is an harmonic output checker that can be utilised to check the output of PyNEMO with a reference tide model. So far
47
+
the only supported reference model is FES but TPXO will be added in the future. Any tidal output from PyNEMO can be checked
48
+
(e.g. FES and TPXO). While using the same model used as input to check output doesn't improve accuracy, it does confirm that the
49
+
output is within acceptable/expected limits of the nearest model reference point.
50
+
51
+
There are differences as PyNEMO interpolates the harmonics and the tidal checker does not, so there can be some difference
52
+
in the values particularly close to coastlines.
53
+
54
+
The checker can be enabled by editing the following in the relevent bdy file::
55
+
56
+
ln_tide_checker = .true. ! run tide checker on PyNEMO tide output
57
+
sn_ref_model = 'fes' ! which model to check output against (FES only)
58
+
59
+
The boolean determines if to run the checker or not, this takes place after creating the interpolated harmonics
60
+
and writing them to disk. The string denotes which tide model to use as reference, so far only FES is supported.
61
+
The string denoting model is not strictly needed, by default fes is used.
62
+
63
+
The checker will output information regarding the checking to the NRCT log, and also write an spreadsheet to the output folder containing any
64
+
exceedance values, the closest reference model value and their locations. Amplitude and phase are checked independently, so both have latitude and longitude
65
+
associated with them. It is also useful to know the amplitude of a exceeded phase to see how much impact it will have so this
66
+
is also written to the spreadsheet. An example output is shown below, as can be seen the majority of the amplitudes, both
67
+
the two amplitudes exceedances and the ones associated with the phase exceedances are low (~0.01), so can most likely be ignored.
68
+
There a few phase exceedances that have higher amplitudes (~0.2) which would potentially require further investigation. A common
69
+
reason for such an exceedance is due to coastlines and the relevant point being further away from an FES data point.
70
+
71
+
Tide Checker Example Output for M2 U currents
72
+
---------------------------------------------
73
+
74
+
.. figure:: _static/comparision_fes.png
75
+
:align:center
76
+
77
+
The actual thresholds for both amplitude and phase are based on the amplitude of the output or reference, this is due to
78
+
different tolerances based on the amplitude. e.g. high amplitudes should have lower percentage differences to the FES reference,
79
+
than lower ones simply due to the absolute amount of the ampltiude itself, e.g. a 0.1 m difference for a 1.0 m amplitude is
80
+
acceptable but not for a 0.01 m amplitude. The smaller amplitudes contribute less to the overall tide height so larger percentage
81
+
differences are acceptable. The same also applies to phases, where large amplitude phases have little room for differences but at
82
+
lower amplitudes this is less critical so a higher threshold is tolerated.
83
+
84
+
The following power functions are used to determine what threshold to apply based on the reference model amplitude.
0 commit comments