Closed mle2718 closed 1 year ago
@jerellejesse -- this probably breaks things on HPCC runs. I think I have a fix.
move the saving step of mproc and set_om_parameters_global.R out of runPost.R and into runSim.R. This better matches the workflow. simulation parameters are saved at the end of the model run, not while processing model results. I think it would be better to put this all the way at the beginning, during the model setup (see point 4 below) but there's too much going on and I'm sure I'll break something.
ugh. I did it again. I merged EconOnly2 into the PostFeatures branch.
This does a few things.
mproc
in memory to thefig
folder. As far as I can tell, the saved version of mproc was never used. get_catdf() is not good, because it does not save a csv, it saves a space delimited file. write.csv() is part of base are and can do the job.mproc
andset_om_parameters_global.R
out of runPost.R and into runSim.R. This better matches the workflow. simulation parameters are saved at the end of the model run, not while processing model results. I think it would be better to put this all the way at the beginning, during the model setup (see point 4 below) but there's too much going on and I'm sure I'll break something.