pysiral.core.config

Purpose:

Returns content of configuration and definition files

Created on Mon Jul 06 10:38:41 2015

@author: Stefan

Functions

get_yaml_config(→ Union[Dict, ...)

Parses the contents of a configuration file in .yaml format

Module Contents

pysiral.core.config.get_yaml_config(filename: str | pathlib.Path, output: str = 'attrdict') Dict | pysiral.core.legacy_classes.AttrDict

Parses the contents of a configuration file in .yaml format and returns the content in various formats

Parameters:
  • filename – The full file path of the config file

  • output – Dict or AttrDict (depends on output keyword)

Returns: