pyatran.params.json_to_sciatran¶
-
pyatran.params.json_to_sciatran(cfg, path)[source]¶ Write SCIATRAN configuration.
This function creates SCIATRAN parameter files in the directory
pathfrom the runtime configurationcfg.Parameters: cfg : dict or str
The SCIATRAN configuration to be written. This can be either a Python dictionary or the filename of a JSON file holding SCIATRAN runtime configuration.
path : str
The directory in which the control files shall be written.