diff --git a/components/groundstation.py b/components/groundstation.py index 335adf5f54124037681509530d7bb050cc05e8ad..22f6dc66d900bf9049b4b8e77cc7e9937404434c 100644 --- a/components/groundstation.py +++ b/components/groundstation.py @@ -32,7 +32,7 @@ yac = YAC() comp = yac.def_comp("pamtra") -coords = np.array(args.coords) +coords = np.deg2rad(args.coords) ncoords = len(args.coords) grid = UnstructuredGrid("pamtra-grid", [3]*ncoords, [*coords[:, 0], *(coords[:, 0]+0.1), *coords[:, 0]], @@ -92,7 +92,7 @@ while True: data = {} for v, f in fields.items(): data[v], info = f.get() - print(v, data[v].shape, file=sys.stderr) + print(v, np.linalg.norm(data[v]), file=sys.stderr) call_pamtra(**data, datetime=datetime) if info == Action.GET_FOR_RESTART: break