Ostrich calibration using R-driver script to calculate objective function
Posted: Sun Sep 22, 2019 9:28 pm
Hi there,
I am currently trying to set up a model calibration using Ostrich. I have developed an R-script that calls the model from the command line, reads in the simulated hydrographs, reads in the observed hydrographs, and compute a user-defined objective function.
The script runs completely as intended in R, but it stops part-way when I try to call it from the command line. After executing the Raven model it requires that I manually hit the enter button to execute the remainder of the script. This is prohibiting me from using this setup in Ostrich.
Any advice on how to solve this issue would be greatly appreciated.
Thanks,
Stefan
I am currently trying to set up a model calibration using Ostrich. I have developed an R-script that calls the model from the command line, reads in the simulated hydrographs, reads in the observed hydrographs, and compute a user-defined objective function.
The script runs completely as intended in R, but it stops part-way when I try to call it from the command line. After executing the Raven model it requires that I manually hit the enter button to execute the remainder of the script. This is prohibiting me from using this setup in Ostrich.
Any advice on how to solve this issue would be greatly appreciated.
Thanks,
Stefan