0037bf2ef173d8e7dabf3e71c9c4783424e855d0,nilmtk/dataset_converters/dataport/download_dataport.py,,download_dataport,#,124
Before Change
// write yaml to hdf5
// dataset.yaml and meter_devices.yaml are static, building<x>.yaml are dynamic
convert_yaml_to_hdf5(join(_get_module_directory(), "metadata"),
hdf_filename)
After Change
//TODO: copy metadata and modify in a temp dir
// remove existing building yaml files in module dir
metadata_dir = join(get_module_directory(), "dataset_converters", "dataport", "metadata")
for f in os.listdir(metadata_dir):
if re.search("^building", f):
os.remove(join(metadata_dir, f))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: nilmtk/nilmtk
Commit Name: 0037bf2ef173d8e7dabf3e71c9c4783424e855d0
Time: 2018-09-09
Author: 10246101+PMeira@users.noreply.github.com
File Name: nilmtk/dataset_converters/dataport/download_dataport.py
Class Name:
Method Name: download_dataport
Project Name: nilmtk/nilmtk
Commit Name: 0037bf2ef173d8e7dabf3e71c9c4783424e855d0
Time: 2018-09-09
Author: 10246101+PMeira@users.noreply.github.com
File Name: nilmtk/dataset_converters/greend/convert_greend.py
Class Name:
Method Name: convert_greend
Project Name: nilmtk/nilmtk
Commit Name: 0037bf2ef173d8e7dabf3e71c9c4783424e855d0
Time: 2018-09-09
Author: 10246101+PMeira@users.noreply.github.com
File Name: nilmtk/dataset_converters/iawe/convert_iawe.py
Class Name:
Method Name: convert_iawe