lkerr / groundfish-MSE

Development of Robust Management Strategies for Northeast Groundfish Fisheries in a Changing Climate
MIT License
4 stars 2 forks source link

raw results storage when running parallel #298

Closed mle2718 closed 1 year ago

mle2718 commented 1 year ago

Need a way to separate the storage of raw econ results. When I do "run_on_containers.sh", all the models are stacked together which makes it impossible to know which goes with which.

Solution modify this:

https://github.com/lkerr/groundfish-MSE/blob/fe5ae329bbe97d9b39a263734acb90d9b29754c2/processes/runSetup.R#L84-L88

to create a subfolder inside the 'raw' folder, Run 1. Run 2, etcs. Then when I need to look at the raw results, I can look at the folder names.

mle2718 commented 1 year ago

a6fe3e182f9a25f485e19add835f7faf81bae2a9

  1. Create a small Rscript to hunt for folders within
    file.path(ResultDirectory,"econ","raw")
  2. Call that Rscript in runSim.R
  3. Adjust runPre.R and runSetup.R