From 2ddd2ce0c84116ec567ca6850d15a529e988e022 Mon Sep 17 00:00:00 2001 From: Jonathan Socoy <72121903+socoyjonathan@users.noreply.github.com> Date: Sun, 24 Apr 2022 17:35:54 -0500 Subject: [PATCH] Corrected a factor of the lunisolar K2 tides The change can be verified on page 46 on https://tidesandcurrents.noaa.gov/publications/SpecialPubNo98.pdf Additionally, this PR reflects PR from https://github.com/sam-cox/pytides/pull/20 --- pytides/nodal_corrections.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytides/nodal_corrections.py b/pytides/nodal_corrections.py index 170f0d6..1db2117 100644 --- a/pytides/nodal_corrections.py +++ b/pytides/nodal_corrections.py @@ -84,7 +84,7 @@ def f_K2(a): nu = d2r*a['nu'].value sinsqIcos2nu_mean = np.sin(omega)**2 * (1-3/2.0 * np.sin(i)**2) mean = 0.5023*sinsqIcos2nu_mean + 0.0365 - return (0.2533*np.sin(I)**4 + 0.0367*np.sin(I)**2 *np.cos(2*nu)+0.0013)**(0.5) / mean + return (0.2523*np.sin(I)**4 + 0.0367*np.sin(I)**2 *np.cos(2*nu)+0.0013)**(0.5) / mean #Schureman equations 206, 207, 195 def f_M1(a):