Skip to content
Snippets Groups Projects
Commit 9f1b8416 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 3c6cf8d0
Branches
No related tags found
No related merge requests found
...@@ -46,6 +46,12 @@ def get_amvs(amv_files, timestamp, filepath=None): ...@@ -46,6 +46,12 @@ def get_amvs(amv_files, timestamp, filepath=None):
param_nd = param_nd[:, vld] param_nd = param_nd[:, vld]
param_nd = np.transpose(param_nd, axes=[1, 0]) param_nd = np.transpose(param_nd, axes=[1, 0])
if amv_files.elem_name is None:
nav = amv_files.get_navigation()
cc, ll = nav.earth_to_lc_s(param_nd[:, 1], param_nd[:, 0])
tmp_nd = np.insert(param_nd, 2, cc, axis=1)
param_nd = np.insert(tmp_nd, 3, ll, axis=1)
return param_nd return param_nd
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment