Commit Graph

8 Commits (master)

Author SHA1 Message Date
Sebastian Woetzel f7e11c683a satnogs_client: Use the new scheduling API
[kerel+git@mailbox.org:
- Rebased on master (`schedule_observations` moved from `utils.py`
  to `satnogs_client.py`)
- Moved error logging into the `schedule_observations` function
  (more context available)
- Import python-requests in `satnogs_client` directly instead of
  passing a `requests` object to `schedule_observations`
- Squashed the commits and reworded the commit message
- Changed code formatting]
Signed-off-by: Fabian P. Schmidt <kerel+git@mailbox.org>
2019-11-04 21:04:03 +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
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
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
Cees Bassa b3eec0d91d Skip downloading TLEs for temporary NORAD IDs 2018-12-15 10:57:24 +01:00
Pierros Papadeas 05fb4f59f2
Move cache age to settings.py 2018-12-03 12:02:32 +02: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