Skip to content
Snippets Groups Projects
Commit 8aab4587 authored by tomrink's avatar tomrink
Browse files

add inverse transforms

parent 94a76354
No related branches found
No related tags found
No related merge requests found
...@@ -203,8 +203,8 @@ class GEOSNavigation: ...@@ -203,8 +203,8 @@ class GEOSNavigation:
s_3 = s_n * np.sin(y) s_3 = s_n * np.sin(y)
s_xy = np.sqrt(s_1 * s_1 + s_2 * s_2) s_xy = np.sqrt(s_1 * s_1 + s_2 * s_2)
geographic_lon = np.atan(s_2 / s_1) + self.sub_lon geographic_lon = np.arctan(s_2 / s_1) + self.sub_lon
geographic_lat = np.atan(fp * (s_3 / s_xy)) geographic_lat = np.arctan(fp * (s_3 / s_xy))
geographic_lon *= RAD_TO_DEG geographic_lon *= RAD_TO_DEG
geographic_lat *= RAD_TO_DEG geographic_lat *= RAD_TO_DEG
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment