Skip to content
Snippets Groups Projects
Commit 0f092668 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 862d062c
No related branches found
No related tags found
No related merge requests found
...@@ -266,11 +266,13 @@ def get_navigation(satellite='GOES16', domain='FD'): ...@@ -266,11 +266,13 @@ def get_navigation(satellite='GOES16', domain='FD'):
return nav return nav
def get_lon_lat_2d_mesh(nav, ll, cc): def get_lon_lat_2d_mesh(nav, ll, cc, offset=0):
num_elems = len(cc) num_elems = len(cc)
num_lines = len(ll) num_lines = len(ll)
cc = np.array(cc) cc = np.array(cc)
ll = np.array(ll) ll = np.array(ll)
cc[:] += offset
ll[:] += offset
x_rad = cc * nav.CFAC + nav.COFF x_rad = cc * nav.CFAC + nav.COFF
y_rad = ll * nav.LFAC + nav.LOFF y_rad = ll * nav.LFAC + nav.LOFF
......
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