Mockup R
A repo demonstrating a mock-up forecast set-up using R. This will generate a mock forecast with the required formatting for pyCSEP testing, generated from sampled events in the catalogue. Takes in required forecast date from command line (example is "2020-01-01" below) and writes the output forecast to the forecasts folder
Docker build
docker build \
--build-arg USERNAME=$USER \
--build-arg USER_UID=$(id -u) \
--build-arg USER_GID=$(id -g) \
--no-cache \
-t mockup_r .
Run docker and create forecast
docker run --rm --volume $PWD:/usr/src/mockup_R:rw mockup_r Rscript run_forecast.R "2020-01-01"