Commit Graph

413 Commits

Author SHA1 Message Date
Junzi Sun
3619d52760 release version 2.3 2019-09-24 16:34:37 +02:00
Junzi Sun
e2ece806c2 update tell() 2019-09-24 16:30:38 +02:00
Junzi Sun
a683e40c41 deprecation warning only one time 2019-09-11 16:01:55 +02:00
Junzi Sun
0c1a3b06e1 Merge branch 'master' of github.com:junzis/pyModeS 2019-09-11 15:39:00 +02:00
Junzi Sun
f960cd71bc move dependencies to extras 2019-09-11 15:36:03 +02:00
Junzi Sun
bd54ac1d10 add tell() function 2019-09-11 14:58:31 +02:00
Junzi Sun
2c1db13122 reformat code with Black 2019-09-10 23:25:21 +02:00
Junzi Sun
695fc34988 update airborne_position(), allow swapping the odd and even messages 2019-09-10 14:47:15 +02:00
Junzi Sun
0eb333ba8c deal with Python 2 long int 2019-09-10 13:31:27 +02:00
Junzi Sun
d058e9f8b3
Merge pull request #49 from espinielli/patch-1
moved pms.adsb.surface_velocity under typecode 5-8
2019-09-06 23:01:47 +02:00
Enrico Spinielli
3d99deb049
moved pms.adsb.surface_velocity under typecode 5-8
I tried to `pms.adsb.surface_velocity()` as per README with a typecode 19 msg and got an error:

```python
>>> import pyModeS as pms
>>> msg = '8d484966990076b9e0762d5ff92c'
>>> pms.adsb.typecode(msg)
19
>>> pms.adsb.surface_velocity(msg)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\spi\AppData\Roaming\Python\Python27\site-packages\pyModeS\decoder\bds\bds06.py", line 162, in surface_velocity
    raise RuntimeError("%s: Not a surface message, expecting 5<TC<8" % msg)
RuntimeError: 8d484966990076b9e0762d5ff92c: Not a surface message, expecting 5<TC<8
```

so I propose this fix.
I used pyModeS      2.2
2019-09-05 16:56:42 +02:00
Junzi Sun
03f81d120b
Merge pull request #48 from richardjanssen/master
Fix surface positions with negative longitude
2019-09-03 22:14:41 +02:00
Junzi Sun
b9b95320d8
keep only common virtualenv folder names 2019-09-03 22:12:30 +02:00
Richard Janssen
0ea2cf7ade Fix surface positions for negative longitude 2019-09-03 12:15:34 +02:00
Junzi Sun
458b02028d update readme 2019-08-26 16:50:05 +02:00
Junzi Sun
b062bdf998 fix local buffer bug 2019-08-26 16:38:36 +02:00
Junzi Sun
cfcd21b692 improve multiprocessing efficiency 2019-08-26 12:00:14 +02:00
Junzi Sun
86f302f05e change modeslive to multiprocessing 2019-08-26 00:21:29 +02:00
Junzi Sun
28a6e53d49 update dependencies 2019-08-23 14:59:50 +02:00
Junzi Sun
81d7cef6e8
Merge pull request #47 from junzis/rtlsdr
Add RTL-SDR support
2019-08-23 14:47:50 +02:00
Junzi Sun
4906a49e9c update modeslive command 2019-08-23 14:46:13 +02:00
Junzi Sun
7cb75ea8ca
Update README.rst 2019-08-22 19:47:20 +02:00
Junzi Sun
785584aff5 improve singal process efficiency 2019-08-22 16:59:12 +02:00
Junzi Sun
fdc34497c0 update instruction for rtl-sdr 2019-08-22 10:51:11 +02:00
Junzi Sun
4a3c9438f7 adding support for rtl-sdr tunner 2019-08-22 10:45:12 +02:00
Junzi Sun
b723374337
Merge pull request #45 from hegrin-cz/master
Corrected ADS-B emitter category parsing.
2019-08-22 10:37:58 +02:00
Hegr,Jiri
8f4dff5b30 Corrected category parsing. 2019-08-19 14:50:09 +02:00
Junzi Sun
7267859548 pyModeS v2.2 2019-08-05 16:37:30 +02:00
Junzi Sun
7a3bd089c4 update wind null return 2019-08-05 16:25:46 +02:00
Junzi Sun
17fdaca1c7 fix bug for alternative temperature 2019-08-05 14:21:21 +02:00
Junzi Sun
6f6b50776d rename functions for seleted altitudes in BDS40 2019-08-05 10:37:17 +02:00
Junzi Sun
0b7b9ad3dd rewrite CRC function 2019-07-09 15:02:06 +02:00
Junzi Sun
24806f7e88 add downlink format check 2019-06-06 11:46:44 +02:00
Junzi Sun
57ad40ec57
Merge pull request #44 from amhirsch/fix-velocity
Decoder recognizes supersonic velocity subtype
2019-06-06 11:33:26 +02:00
Junzi Sun
d230bdc4a9
Merge pull request #43 from amhirsch/debug-stream
Add debugging option
2019-06-06 11:32:33 +02:00
Alexander Hirsch
4a6d3334a7 Decoder recognizes supersonic velocity subtype
If the aircraft velocity message indicates a supersonic subtype
(2 or 4), multiply the derived velocity by four. This is in accordance
with Table A-2-9[a, b] in the "Technical Provisions for Mode-S Services
and Extended Squitter"
2019-06-05 16:11:50 -07:00
Alexander Hirsch
9f371fe86b Stream errors are printed with full traceback
The stream will now properly print the traceback of an error if the
debuging variable is set.
2019-06-03 17:42:26 -07:00
Alexander Hirsch
0ea4969393 Print the traceback of TCP client Exception
The function now prints the system execution information upon an
exception.
The last commit requested traceback information, but did not print the
information to the console.
2019-06-03 17:23:26 -07:00
Alexander Hirsch
312c77629b Provides debuging option for TCP stream
The TCP BaseClient class has been modified to recognize an environment
variable 'PYMODES_DEBUG'. When the variable is set to 'true', the
stream will halt execution rather than restarting. This is for
debugging purposes and does not alter the main functionality of
the program.
2019-06-03 16:08:28 -07:00
Junzi Sun
6159691c3d update CRC code 2019-05-27 21:26:18 +02:00
Junzi Sun
7edbf3fd30
Merge pull request #29 from alcibiade/fastcrc
FastCRC - A more efficient CRC calculation
2019-05-27 20:38:27 +02:00
Junzi Sun
e19d0cd945
Merge pull request #39 from amhirsch/DF-17Additions
Additional Information Extracted from TC-19/BDS0,9 Messages
2019-05-27 20:26:23 +02:00
Alexander Hirsch
6fc68841ce Updted docstrings for velocity messages 2019-05-27 08:25:11 -07:00
Alexander Hirsch
f27fe6c8aa Changed velocity source names 2019-05-27 08:13:02 -07:00
Junzi Sun
81a46e5070 add the BaseClient example 2019-05-27 10:59:32 +02:00
Junzi Sun
6c2adbe990 update citation info 2019-05-27 10:06:43 +02:00
Alexander Hirsch
3c14579040 velocity default argument for backwards compatibility 2019-05-17 09:45:16 -07:00
Alexander Hirsch
fc9b05b6f1 Added direction source to ground_velocity() 2019-05-17 06:06:06 -07:00
Alexander Hirsch
b813e41343 Fixed ground velocity return and updated velocity docstring 2019-05-17 05:59:14 -07:00
Alexander Hirsch
c9159feb7d BDS09 returns direction and v/s source 2019-05-16 19:05:19 -07:00