Dear OF Team, I checked the ARENA manual, but couldn't find anything. Is there a way to import workspaces from CALC into ARENA? If not, could you recommend a workaround to avoid having to manually migrate all chains manually? We have created complex processing chains in CALC for cluster and plot based inventories and would like to run these from ARENA in the future. Thank you so much for your help! Best regard, Alex |
Dear Alex, there is no workaround, unfortunately. In Collect+Calc based method, a partial copy of Collect DB is imported into the Calc DB, for example files and multi-selection attributes are missing in Calc's schema. I recommend these steps:
In parallel, start a Calc RStudio session and copy scripts manually into the Arena R project. If Calc does not start, there are two options to get the scripts:
SELECT workspace.name, variable.name, script FROM calc.workspace, calc.calculation_step, calc.variable WHERE workspace.name='my_ws_name' AND workspace.id = calculation_step.chain_id AND variable.id = calculation_step.output_variable_id There are some changes between Calc and Arena R projects:
In stratified sampling case, areas of strata (AOIs in Calc) are given as Extra property ('area') in that category table, which is assigned to the (categorical) stratification attribute. Only one attribute can work as a stratification attribute. If that is a combination of two or more input attributes, it must be generated as a new categorical attribute in the chain. In Arena, there is not yet a Saiku type reporting tool. We have started to build a new Result Data Query Tool, that will show result data (means and totals) computed for selected Dimensions and Measures. Secondly, results estimates for a two-phase sampling you can not get out via Arena (analytical) script yet, but were are working on this too. Hope these advices can help you to take this leap! Regards, Lauri (OF Arena Team) |