MOU - How to find stack realization name #234
-
Hi, When running MOU with stack-based chances (I provide a param realisation csv from a previous IES run), is there a way to identify the realization name from that IES csv during a worker's model run? Normally I use run.info with IES/SWEEP to read the runid, from which I can work out the realisation name because the stack is run in sequential order). In the case of MOU, this is not a straightforward relationship, and I thought I could read the "realization" part of run.info, but it is in the form of: "REALIZATION:GEN=3_MEMBER=348_DE" - but to my knowledge there is nothing at the worker end that allows me to link back to the corresponding param stack realization name. Is there? I guess a solution if the answer is no is to add a parameter to the stack which is the realization name, and get pest to write that via a tpl file to a file in each worker folder during a model run. Is that the best bet? Cheers, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Those names you are seeing are the member names of the population in mou. But when you run the stack for chances, you should get the parameter realization name in the run.info file on the workers. If you are using chance_points = single, then its the original par realization name in run.info. But if you are using chance_points = all, then the run.info file will have a strange aggregated name like |
Beta Was this translation helpful? Give feedback.
Those names you are seeing are the member names of the population in mou. But when you run the stack for chances, you should get the parameter realization name in the run.info file on the workers. If you are using chance_points = single, then its the original par realization name in run.info. But if you are using chance_points = all, then the run.info file will have a strange aggregated name like
0||gen=1_member=0_de
where the double vertical bar||
separates the parameter realization name on the left from the mou population member name on the right. Note that for all other model runs (like when mou is evaluating populations), the parameter realizations arent being used...