The console app is a downloader for the data provided by the satnogs network.
command example :
python ./glouton.py -s 2018-01-20T00:51:54 -e 2018-01-21T00:51:54 -n 28654
command example if you just want the payload files :
python ./glouton.py -s 2018-01-20T00:51:54 -e 2018-01-21T00:51:54 -n 28654 --payload
python ./glouton.py -s 2019-05-09T00:51:54 -e 2019-05-30T00:51:54 -n 40069 --waterfallm TestModule,CSV --tuuid 8oBdHqMqgmMiWvRru6fWMn --ttype Transmitter --tmode LRPT
* waterfall downloading
* payload downloading
* filters :
* norad id
* start date
* end date
* stations
* observation status
* working directory selection
* Docker container
* modules
* automatic mode for downloading automatically the new observations of one or more satellites.
You can now create your own modules. These will be executed after each download from the category you selected.
The module that you develop must herite from ModuleBase and must implement the "runAfterDownload" method. This method receive the file name and the full path as parameters.
Also the module and the name of the python file must be the same. The py file must be placed into the "modules" directory.
Here is a very simple exemple (this module is in the sources) :
from modules.moduleBase import ModuleBase
class TestModule(ModuleBase):
def runAfterDownload(self, file_name, full_path, observation):
print('executed after ' + file_name)
Here is a exemple of a command you have to use to trigger the TestModule after each waterfall download :
-s 2017-05-20T00:51:54 -e 2017-09-20T00:51:54 -n 25338 --waterfallm TestModule,TestModule
Glouton has a docker image that you can download here on the docker hub.
All ideas or contributions are welcome. Feel free to use the issues tab :-)