Open pgriffin17 opened 2 months ago
Sorry for the late reply, I was away on a trip for the last few weeks. The ocs_example docker-compose is volume mapping some local directories to store scheduling data/log files here. By default, its looking in the directory you are running it from in a ./data
, ./logs
, ./data/input
, and ./data/output
. If you create those directories locally and give them permissive permissions then it should be able to run and store files from the run in there. It would be a good idea in the future to modify the scheduler to log an error but continue if these directories don't exist though, since storing log files and data files aren't essential to the basic operation of the scheduler.
I'm trying to use the example repository to get an idea of the capabilities of OCS, but running into a permission error when initializing the adaptive scheduler. The traceback is below - it will launch if I simply throw a try/except around the
with open(self.telescopes_file...
lines (and similarly for the active instruments one), however I'm sure this is a poor way to solve this problem. Any alternative suggestions would be appreciated.