From b2940af6efe4cb6d99bca8a1f1f214292acf3e6a Mon Sep 17 00:00:00 2001 From: kaback Date: Tue, 14 Apr 2015 18:05:49 +0200 Subject: [PATCH] fixed typo in lat/lon calc (cpr2position()) --- decoder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decoder.py b/decoder.py index 7d85be1..430a84f 100644 --- a/decoder.py +++ b/decoder.py @@ -79,7 +79,7 @@ def cpr2position(cprlat0, cprlat1, cprlon0, cprlon1, t0, t1): cprlat_even = cprlat0 / 131072.0 cprlat_odd = cprlat1 / 131072.0 cprlon_even = cprlon0 / 131072.0 - cprlon_odd = cprlon0 / 131072.0 + cprlon_odd = cprlon1 / 131072.0 air_d_lat_even = 360.0 / 60 air_d_lat_odd = 360.0 / 59