Commit Graph

38 Commits (master)

Author SHA1 Message Date
Fabian P. Schmidt 3e69cfdcd7 Refactor SatNOGS API calls into an own module
Eventually this module will be replace by the offical SatNOGS API client.
2019-11-02 22:11:17 +01:00
Fabian P. Schmidt 0cbf664991 Refactor caching into a CacheManager module and add CACHE_DIR setting
This commit contains mostly re-location of code, but some
logic changes as well:
- Added the CACHE_DIR setting (previously it was hardcoded)
- Fixed the "cache last updated"/tnow timestamp re-using the
  args.starttime variable. Previously, if a user invoked the script
  with the starttime argument in the far future, the caches
  "last_update" timestamp would've used this future date as a reference
  (and thus the cache wouldn't be updated until this startdate passed)
2019-11-02 22:02:26 +01:00
Fabian P. Schmidt 33832f0dbd Refactor find_passes into the pass_predictor module 2019-11-02 21:31:45 +01:00
Fabian P. Schmidt f1ab63149d Refactor schedulers into an own module 2019-11-02 21:31:45 +01:00
Fabian P. Schmidt 44c37aaff2 Refactor overlap method into the pass_predictor module 2019-11-02 21:31:45 +01:00
Fabian P. Schmidt df1aaacfae utils/find_passes: Remove unused passid
This ID is unused, arbitrary and prevents this code to be parallized.
2019-11-02 21:31:45 +01:00
Fabian P. Schmidt a6a5ddaa4b Revert "utils/find_passes: Remove unused passid"
This reverts commit 3577778eb8.
2019-11-02 21:23:12 +01:00
Fabian P. Schmidt 3577778eb8 utils/find_passes: Remove unused passid
This ID is unused, arbitrary and prevents this code to be parallized.
2019-11-02 20:07:37 +00:00
Alfredos-Panagiotis Damkalis d93a19f49e Fix scheduling form fields for Network 1.10
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2019-10-07 19:39:12 +03:00
cgbsat b818f4e1af Disable auto-scheduling in testing mode (fixes #12) 2019-08-06 15:05:38 +00:00
cgbsat 8b99d8ffa6 Fix bug with priority scheduling 2019-07-14 12:31:46 +00:00
cgbsat 532316a9ec Change description of -f option 2019-07-14 11:58:04 +00:00
cgbsat 464afa5ddf Allow setting a minimum priority limit for scheduling passes. 2019-07-14 10:58:33 +00:00
cgbsat d1d950717a Added minimum priority limit 2019-07-14 10:23:15 +00:00
cgbsat 15d6b17739 Print transmitter mode in output 2019-07-14 10:01:29 +00:00
Cees Bassa 9b6135f8b0 Log transmitter modes in cache for easy identification 2019-06-25 12:55:16 +02:00
cgbsat a7f477db9b Fix pass_duration bug 2019-05-12 09:31:44 +00:00
Pierros Papadeas 6869ce2635
Add checks and argument for ground station horizon
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2019-05-12 00:32:00 +03:00
cgbsat 5c2cca6dc8 Usage cleanup and wait time bug fix 2019-05-11 17:45:41 +00:00
Fabian P. Schmidt 03cc1f75b7 Check if ground station has no observations yet
Fixes issue #9.

Signed-off-by: Fabian P. Schmidt <kerel@mailbox.org>
2019-05-11 16:31:06 +00:00
Fabian P. Schmidt addbab1012 Add detailed error messages in ground station handling
Signed-off-by: Fabian P. Schmidt <kerel@mailbox.org>
2019-05-11 16:30:35 +00:00
Pierros Papadeas 19d1c4d235
Reduce complexity of main() function
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2019-05-11 18:43:17 +03:00
Pierros Papadeas fee88c5fc1
Fix code for pep8 via yapf
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2019-05-10 10:33:54 +03:00
Pierros Papadeas 02ec88ba03
Fix fetching of stats from Network
And various codestyle fixes

Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2019-05-08 22:55:08 +03:00
cgbsat abc45cf836 Schedule specific sats 2019-03-24 10:06:58 +00:00
Cees Bassa 0788b580ec Ignore re-entered satellites 2019-03-18 20:01:09 +01:00
Hugot FX 2595cfc0cb reading sat priorities and favorite transmitters as external csv file 2019-01-23 06:13:55 +01:00
Cees Bassa 2b04bffdc3 Print usage if no options are provided 2019-01-04 11:43:26 +01:00
Cees Bassa 3219edd35e Added wait time between observations. Fixes #3 2018-12-29 13:34:12 +01:00
Pierros Papadeas f28a258c78
Display all passes and mark the scheduled ones 2018-12-19 13:39:29 +02:00
Pierros Papadeas 9a93a16776
Add progress bar on pass calculation and nicer logging 2018-12-19 12:24:49 +02:00
Cees Bassa 33aa708ae2 Fix typo and error 2018-12-16 18:28:45 +01:00
Pierros Papadeas bb07f259e6
Add more debugging info 2018-12-12 11:13:02 +02:00
Fabian P. Schmidt 2f56c42779 Add missing pagination for transmitter enpoint
Fixes a bug where transmitters are missing
(regression introduced in f0c2228).
2018-12-02 23:00:46 +01:00
Pierros Papadeas 59c004a32c
Fix base URLs 2018-12-02 20:09:21 +02:00
Pierros Papadeas e743364933
Restructure util file and add settings 2018-12-02 19:55:02 +02:00
Fabian P. Schmidt f0c2228d65 Use server-side filtering when fetching transmitter success rates 2018-12-02 17:51:08 +01:00
Fabian P. Schmidt d014b71099 Remove session handling in get_active_transmitter_handling 2018-12-02 16:28:10 +01:00