Tidal height calculation problem #317
Replies: 2 comments
-
I read the official code of aviso-fes , and the location of its calculation of tidal height is https://github.com/CNES/aviso-fes/blob/main/include/fes/tide.hpp. |
Beta Was this translation helpful? Give feedback.
-
Hi @q1165600785, the formalism for phase lags within |
Beta Was this translation helpful? Give feedback.
-
Hi, researcher. I am using fvcom to build a regional tidal model and pyfvcom to make tidal forcing files. pyfvcom uses the UTIDE package to calculate tidal heights. Its core calculation code is fit = np.dot(E, ap) + np.dot(np.conj(E), am)
https://github.com/wesleybowman/UTide/blob/master/utide/_reconstruct.py
It uses conjugate complex numbers to calculate tidal heights.
I now want to use pytmd to calculate tidal heights as my input file
I now want to use pytmd to calculate tidal heights as my input file. I read the code and thought that its core formula is ht.data[:] += pf[:,k]*hc.real[0,k]*np.cos(th) -pf[:,k]*hc.imag[0,k]*np.sin(th).
What confuses me is that there is no similarity between these two formulas.
I am a beginner in tidal research. Have I overlooked something?
Beta Was this translation helpful? Give feedback.
All reactions