Wykres commitów

47 Commity (ce76a6bb2e03bf570857d0727f2046b7184345bb)

Autor SHA1 Wiadomość Data
Konstantin Gründger a76bcc1750 Refactoring 2017-10-03 13:31:24 +02:00
Konstantin Gründger 5a4ce57db9 Move convert_logfile to bulkimport module 2017-06-23 08:13:51 +02:00
Konstantin Gründger e8b00af976 Import logfile parameter can be a folder (with gzipped or unzipped files) or a file (gzipped or unzipped) 2017-06-12 19:25:24 +02:00
Konstantin Gründger e764b6dfb5 Bugfix 2017-06-09 21:48:58 +02:00
Konstantin Gründger c61dc393fe Move opener to utils and implement batch cdv import 2017-06-04 11:52:48 +02:00
Konstantin Gründger 1f26866ad5 Import zipped and unzipped log files 2017-06-03 15:25:29 +02:00
Konstantin Gründger 8a03e55311 Do not parse ogn string if empty 2017-06-03 15:24:17 +02:00
Konstantin Gründger 0cf6eb56f7 Use temporary tables for import and updating relations (AircraftBeacon->Device, AircraftBeacon->Receiver, ReceiverBeacon->Receiver) 2017-06-03 12:02:17 +02:00
Konstantin Gründger 276763f37f Prepare csv and use super fast „COPY FROM“ sql command 2017-05-30 21:45:57 +02:00
Konstantin Gründger aaac0029f6 Better bulk import: separate beacon creation from db insert 2016-10-31 08:58:19 +01:00
Konstantin Gründger 16984883e3 Modifications for 0.2.5 protocol 2016-10-03 15:14:44 +02:00
Konstantin Gründger 49e650916e Split reference_datetime to date and time 2016-09-28 11:41:51 +02:00
dspreitz 9a00422b26 Modified reference_date which is passed 2016-09-28 11:41:51 +02:00
Fabian P. Schmidt 2b69ef5cac import_logfile: Add reference_date argument 2016-09-28 11:41:44 +02:00
dspreitz ac03cc2ab6 Added parameter passing of datetime 2016-09-28 11:37:57 +02:00
dspreitz 039f402d64 Added function import_logfile 2016-09-28 11:31:40 +02:00
Konstantin Gründger e495d52234 flake8 beautifications 2016-06-26 17:59:43 +02:00
Konstantin Gründger 98489cdba5 Added DeviceInfo, fixes #53 2016-06-21 19:34:05 +02:00
Konstantin Gründger 132ae96499 Introduce relations - scheme refactoring 2016-05-30 21:24:46 +02:00
Konstantin Gründger 84cb2d264f From lat/lon to POINT
Flake8 suggestions

Add shapely

Fixed update_receivers

migrate table takeoff_landing
2016-04-28 21:50:59 +02:00
Fabian P. Schmidt 86f2a606e5 Use python-ogn-client and remove duplicated code
This repository splitted up into two separate repositories:
- python-ogn-client, including an APRS- & OGN-Parser and an APRS-Client
- ogn-python (the repository this commit belongs to), including a database, CLI and logbook
2016-03-18 22:58:49 +01:00
Fabian P. Schmidt d69476158b ogn.gateway: Remove implicit sqlalchemy dependency
The callback gets the beacon data by a python dict instead of a sqlalchemy class
2016-02-18 22:49:56 +01:00
Fabian P. Schmidt 2012310ad2 Rename module ogn.exceptions to ogn.parser.exceptions 2016-02-18 16:01:06 +01:00
Fabian P. Schmidt 37ab7991f3 Move function 'create_aprs_login' to ogn.gateway 2016-02-18 15:42:21 +01:00
Fabian P. Schmidt ea75b2a4ea Release v0.2.1 2016-02-17 20:20:58 +01:00
Fabian P. Schmidt 31b2aaddda celery: Add scheduled task update_beacon_receiver_distance
Celery beat is used to call update_beacon_receiver_distance_all
every five minutes.
The time interval is configurable by adjusting the configuration file.
2016-01-29 06:42:56 +01:00
Fabian P. Schmidt ae3788764d celery: Add task update_beacon_receiver_distance
Replaces ogn.commands.dbutils.update_receiver_childs
2016-01-29 06:42:56 +01:00
Konstantin Gründger 6cc6378496 Add (slow) [radius, theta, phi] calculation 2016-01-29 03:47:58 +01:00
Fabian P. Schmidt e22e6a619e gateway: Add logging of dropped packets 2016-01-29 03:44:21 +01:00
Fabian P. Schmidt 3a0a91527f Add setup.py to create a package
Fixes glidernet/ogn-python#16.
2016-01-12 13:56:18 +01:00
Fabian P. Schmidt 4baeb83516 Cleanup 2016-01-06 00:23:45 +01:00
Fabian P. Schmidt 757e9143a8 aprs_utils: Raise AmbigousTimeError for outdated packets
The aprs string only contains time information, no date.
Manual date correction is applied +-one hour around midnight.
Thus, packets older than one hour are dropped.
2015-12-10 17:44:13 +01:00
Fabian P. Schmidt ff02699f7c gateway: Use the correct aprs port.
For client-defined filters, use port 14580;
for full-feed, use port 10152.
2015-11-30 15:26:20 +01:00
Fabian P. Schmidt 81fccc154e gateway: Add callback 'process_beacon'
This change enables us to define a custom callback which is
called when the gateway receives a packet
(e.g. save the incoming beacon in a database and generate
some statistics/aggregate data).
2015-11-30 15:11:10 +01:00
Fabian P. Schmidt 851559aced Logging: Enable custom logfile location. 2015-11-30 15:03:38 +01:00
Fabian P. Schmidt 6af31fe7a7 Move ogn client (gateway) to a separate file.
The documentation[1] says:
> In the simplest case, __init__.py can just be an empty file,
> but it can also execute initialization code for the package or
> set the __all__ variable, described later.

A class like 'ognGateway' can't be considered 'initialization code'.

[1]: https://docs.python.org/3/tutorial/modules.html#packages
2015-11-29 21:59:34 +01:00
Fabian P. Schmidt 57f51ec111 Fix pep8 again. 2015-11-29 21:52:21 +01:00
Konstantin Gründger e5b771fc19 Add failed line to parser exception 2015-11-24 20:07:20 +01:00
Konstantin Gründger 6ce599fbb0 Changed port for unfiltered beacons 2015-11-24 20:06:06 +01:00
Konstantin Gründger 3ab10cfb68 Create aprs login string 2015-11-23 20:40:44 +01:00
Konstantin Gründger 4fe0a29793 Added logger 2015-11-22 21:11:55 +01:00
Konstantin Gründger 92d2fa084d Test the gateway 2015-11-21 23:05:22 +01:00
Konstantin Gründger e66291e5ea Changed exception handling 2015-11-19 23:17:12 +01:00
Fabian P. Schmidt 5ce9dec34c Add AprsParseError. 2015-11-15 19:36:28 +01:00
Konstantin Gründger 120d5daf6b Cleanup 2015-11-15 12:10:20 +01:00
Fabian P. Schmidt 37d7afd15e Fix module imports; Readd aprs settings. 2015-11-15 10:31:35 +01:00
Fabian P. Schmidt 6cb9dd7801 Add common CLI manage.py.
New dependency: manage.py
2015-11-15 09:59:48 +01:00