class foxes.config.Config(foxes.utils.Dict)[source]

Container for configurational data

Public members

Config()[source]

Constructor

property dtype_double

The default double data type

property dtype_int

The default int data type

property work_dir

The foxes working directory

property input_dir

The input base directory

property output_dir

The default output directory

property nc_engine

The NetCDF engine

get_item(key, *deflt, prnt=True)[source]

Gets an item, prints readable error if not found

pop_item(key, *deflt, prnt=True)[source]

Pops an item, prints readable error if not found

__getitem__(key)[source]

Return self[key].

classmethod from_yaml(yml_file, verbosity=1)[source]

Reads a yaml file