pvdeg.utilities.fix_metadata#
- pvdeg.utilities.fix_metadata(meta)[source]#
Meta gid was appearing with (‘lat’ : {gid: lat}, ‘long’ : {gid: long}), …
remove each subdict and replace with value for each key.
Parameters:#
- metadict
dictionary of metadata with key : dict pairs
Returns fixed_meta : dict
dictionary of metadata with key : value pairs