polaris.yaml.yaml_to_mpas_streams

polaris.yaml.yaml_to_mpas_streams(processed_registry_filename, yaml)[source]

Add config options from a yaml file

Parameters:
  • processed_registry_filename (str) – The processed registry file, used to determine the types of variables each steam (since the yaml format doesn’t supply that information).

  • yaml (polaris.yaml.PolarisYaml) – A yaml object with the namelists and streams

Returns:

tree (lxml.etree) – A tree of XML data describing MPAS i/o streams with the content from the streams in the yaml file