a2rl.read_metadata#
- a2rl.read_metadata(yaml_file)[source]#
Load a YAML file into an in-memory metadata object.
- Parameters:
- Return type:
- Returns:
In-memory, metadata object
See also
Examples
Read the metadata of the
chiller
sample dataset.>>> import a2rl as wi >>> p = wi.sample_dataset_path("chiller") / "metadata.yaml" >>> m = wi.read_metadata(p) >>> m.states ['condenser_inlet_temp', 'evaporator_heat_load_rt']