Closed tyler-abbot closed 8 years ago
This should work now -- note that the output file is not put into working_folder
but into the current directory (if given as relative file name) or wherever specified as absolute file name. If passed as option to the libbi
call from R (as `output_file), this overrides anything given in the config file.
For me this only works as an argument. Specifying an ouput file in the config file does not write a file.
Could you post the relevant contents of the config file and the exact command that is failing?
I include this line in the config file
--output-file data.nc
and run this command:
synthetic_dataset <- bi_generate_dataset(model=Lorenz96, init=init_parameters, config="config.conf")
The command works, but the output file does not show up. If I add the option of output_file
in the command it works.
Thanks for (re-)reporting.
Not sure why the option to include an output file in the options is not working.
Possibly caused by the temporary directory. Including the
working_folder
option generates a results file, but with a different name and not in the location specified in config file, as well as creating several additional files and not overwriting old results as LibBi does.