mpas_analysis.shared.io.namelist_streams_interface.convert_namelist_to_dict

mpas_analysis.shared.io.namelist_streams_interface.convert_namelist_to_dict(fname, readonly=True)[source]

Converts a namelist file to key-value pairs in dictionary.

Parameters
fnamestr

The file name of the namelist

readonlybool, optional

Should the resulting dictionary read-only?