Changes between Initial Version and Version 1 of Ticket #1870


Ignore:
Timestamp:
Aug 31, 2018, 5:33:12 PM (6 years ago)
Author:
Dimitar Misev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1870 – Description

    initial v1  
    11111. User executes `wcst_import.sh`
    12122. wcst_import.sh ingests the currently available data as collected by the "paths"
    13 3. Rather than exiting at the end, it continues running as a daemon (relevant: [https://pypi.org/project/python-daemon/ python-daemon]) that regularly checks for new data.
     133. Rather than exiting at the end, it continues running as a daemon (relevant: [https://pypi.org/project/python-daemon/ python-daemon]) that regularly checks for new data. When new data becomes available, the ingestion is automatically done with the same ingredients file to update the coverage.
    1414 - starting `wcst_import.sh` on the same ingredients file while the daemon is already running should exit with an error in this case, and the daemon keeps running
    15 4. It will be useful to add some options to wcst_import for daemon control (start/stop/status), e.g:
     15
     16Some extra useful stuff:
     171. Add options to wcst_import for daemon control (start/stop/status), e.g:
    1618{{{
    1719wcst_import.sh ingredients.json --daemon status
    1820}}}
     212. Allow executing a script or program before or after ingesting each file. This would allow for preprocessing, e.g. doing gdalwarp automatically, and cleanup afterwards. A convention for calling scripts and what results they return will need to be established though; I think this would make sense:
     22 - input: the file(s) to be ingested
     23 - output: result file (or a list of files), which would replace the originally specified files in the ingestion.