Config_parser

Docstrings for the Config_parser class

Objects

ConfigParser()
ConfigParser._parse_gridded()
ConfigParser._parse_indexed()
ConfigParser._get_code_processing_object()
ConfigParser._get_datafile_object()

Config parser.

ConfigParser()

class ConfigParser():
Class for parsing gridded and indexed configuration files.
ConfigParser._parse_gridded()
@staticmethod
def ConfigParser._parse_gridded(json_content):

Static method to parse Gridded config files.

Args:
                json_content (dict): Config file json.

ConfigParser._parse_indexed()
@staticmethod
def ConfigParser._parse_indexed(json_content):

Static method to parse Indexed config files.

Args:
                json_content (dict): Config file json.

ConfigParser._get_code_processing_object()
@staticmethod
def ConfigParser._get_code_processing_object(json_content):

Static method to convert static_variables configs into objects.

Args:
                json_content (dict): Config file json.

ConfigParser._get_datafile_object()
@staticmethod
def ConfigParser._get_datafile_object(json_content, data_file_type):

Static method to convert dataset and domain configs into objects.

Args:
                json_content (dict): Config file json.
                data_file_type (str): key of datafile type (dataset or domain).


Last modified November 23, 2022: Updated docstrings from coast repo. (9daee18)