System.save_config(file_path=None, overwrite=False)[source]#

Save all system, model, and routine configurations to an rc-formatted file.

file_pathstr, optional

path to the configuration file default to ~/andes/andes.rc.

overwritebool, optional

If file exists, True to overwrite without confirmation. Otherwise prompt for confirmation.


Saved config is loaded back and populated at system instance creation time. Configs from the config file takes precedence over default config values.