simcats_datasets.support_functions.metadata_utils

Functions for handling metadata, e.g. reconstruct the dtypes of metadata loaded from h5 files.

@author: k.havemann

Module Contents

Functions

reconstruct_metadata_types

Reconstruct metadata types from the sensor metadata dictionary.

Module Implementation Details

simcats_datasets.support_functions.metadata_utils.reconstruct_metadata_types(metadata)

Reconstruct metadata types from the sensor metadata dictionary.

Parameters:

metadata (Dict) – Dictionary with sensor metadata.

Returns:

Dictionary with sensor metadata with reconstructed data types.

Return type:

Dict