Commit Graph

70 Commits (3e69cfdcd76f63b8d2021281244f2d558c327d14)

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 ea84f8a0e7 Satellite: Fix class name (uppercase) 2019-11-02 21:31:45 +01:00
Fabian P. Schmidt 86d86b2269 Twolineelement: Fix class name (uppercase) 2019-11-02 21:31:45 +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 2744db70ee schedule_single_station.py: Fix import style 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 54d4ee8895 Refactor satellite into an own module 2019-11-02 21:31:45 +01:00
Fabian P. Schmidt fd2cf996bc Refactor twolineelement into a seperate module 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
cgbsat d7f9f09018 Clarified culmination and rise/set elevations 2019-08-07 14:55:50 +00:00
cgbsat b818f4e1af Disable auto-scheduling in testing mode (fixes #12) 2019-08-06 15:05:38 +00:00
Cees Bassa 07c6e0c352 Fix bug with computation of minimum altitude 2019-08-06 16:45:47 +02:00
cgbsat 8457026388 Fixes altitude bug 2019-07-19 13:30:28 +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 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
Patrick Dohmen a994f28f0d Add example configuration to README.md
Signed-off-by: Patrick Dohmen <dl4pd@darc.de>
2019-06-25 21:05:43 +00:00
Cees Bassa 6334d41c09 Graceful exit if station is offline or in testing 2019-06-25 13:58:20 +02:00
Cees Bassa 9771cfed91 Fix minimum horizon bug 2019-06-25 11:04:21 +00:00
Cees Bassa 9b6135f8b0 Log transmitter modes in cache for easy identification 2019-06-25 12:55:16 +02: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
cgbsat 79bbdab3fc Exit on authentication failure (fixes #8) 2019-05-11 17:24:03 +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 289bad05cb
Decoupled credentials from argparse into configuration file
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2019-05-10 10:21:26 +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 943c33595e Add authentication failure and success \!7 2019-03-24 10:11:35 +01:00
Cees Bassa 0788b580ec Ignore re-entered satellites 2019-03-18 20:01:09 +01:00
Fabian P. Schmidt 239897b4cd Add custom user agent to the scheduling request
Fixes #5.
2019-01-31 21:10:53 +01:00
Cees Bassa 3ec7f4c19f Merge branch 'fxh71/satnogs-auto-scheduler-favorite_transmitters' into HEAD 2019-01-26 15:32:06 +01:00
Cees Bassa fc42bba28b Provide priorities file as a commandline argument 2019-01-26 15:25:05 +01:00
Hugot FX 67c0f5bfee fix float arg when altt is absent 2019-01-25 22:27:19 +01:00
Hugot FX 2595cfc0cb reading sat priorities and favorite transmitters as external csv file 2019-01-23 06:13:55 +01:00
Hugot FX 65ea3e2a08 search good transmitters activated from cmdline 2019-01-22 19:07:10 +01:00
Hugot FX bb8c5aeec5 favorite transmitters + cmd line min horizon 2019-01-19 19:35:58 +01:00
Fabian P. Schmidt 87be35cc15 Add note on old credentials requirement 2019-01-15 17:43:36 +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
Cees Bassa 920cf205de Sanitized coding style 2018-12-29 12:41:52 +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
Cees Bassa 1b80d1ddca Adjusted transmitter selection 2018-12-16 18:25:26 +01:00
Cees Bassa b3eec0d91d Skip downloading TLEs for temporary NORAD IDs 2018-12-15 10:57:24 +01:00
Pierros Papadeas bb07f259e6
Add more debugging info 2018-12-12 11:13:02 +02:00