Changes between Initial Version and Version 1 of Ticket #1870
- Timestamp:
- Aug 31, 2018, 5:33:12 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1870 – Description
initial v1 11 11 1. User executes `wcst_import.sh` 12 12 2. 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. 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. When new data becomes available, the ingestion is automatically done with the same ingredients file to update the coverage. 14 14 - 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 16 Some extra useful stuff: 17 1. Add options to wcst_import for daemon control (start/stop/status), e.g: 16 18 {{{ 17 19 wcst_import.sh ingredients.json --daemon status 18 20 }}} 21 2. 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.