...
On porter2 the processes are running under the "maclean" login, and only that user as permission to restart the services. As a work-around, restart_statsproc writes a string to the file $ISFF/projects/$PROJECT/ISFF/logs/statsproc_cmd.txt. The proc_restarter service wakes up every 10 seconds, checks that file, and if it contains the string "restart", does a systemctl --user restart on the statsproc services.
Reprocess data
To reprocess the whole project, run this command on porter2, after setting your project to CABL:
statsproc -S qc_geo_notiltcor -B "2015 feb 18 00:00" -E "2015 jun 1 00:00"
If you want to reprocess the noqc_instrument dataset, set the -S option accordingly.
On porter2, the value of the DATADIR environment variable should be set to "merge", so all the available files on /scr/isfs/projects/CABL/merge will be processed. If you want to process a different set of files, for example the 50m files:
cd /scr/isfs/projects/CABL/raw_data
statsproc -S qc_geo_notiltcor 50m*
To have the R_derived service re-create the derived quantities for the whole project the next time it runs, remove this file:
rm $ISFF/projects/CABL/ISFF/logs/R_derived_last.txt
.