From 94a76354bfe443eb24d9d8c460d28f8757771c69 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Sun, 14 Feb 2021 17:38:56 -0600 Subject: [PATCH] add inverse transforms --- modules/util/geos_nav.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/util/geos_nav.py b/modules/util/geos_nav.py index c7559b46..01622834 100644 --- a/modules/util/geos_nav.py +++ b/modules/util/geos_nav.py @@ -65,8 +65,8 @@ LOFF = 0.151844 def goes_to_geos(lamda_goes, theta_goes): - theta_geos = np.asin(np.sin(theta_goes) * np.cos(lamda_goes)) - lamda_geos = np.atan(np.tan(lamda_goes) / np.cos(theta_goes)) + theta_geos = np.arcsin(np.sin(theta_goes) * np.cos(lamda_goes)) + lamda_geos = np.arctan(np.tan(lamda_goes) / np.cos(theta_goes)) return lamda_geos, theta_geos -- GitLab