holgerteichgraeber / TimeSeriesClustering.jl

Julia implementation of unsupervised learning methods for time series datasets. It provides functionality for clustering and aggregating, detecting motifs, and quantifying similarity between time series datasets.
MIT License
82 stars 22 forks source link

clust_data undefined dictitionary entries #128

Closed holgerteichgraeber closed 4 years ago

holgerteichgraeber commented 4 years ago

On master:

clust_data = load_timeseries_data(:CEP_GER1)
clust_data.data.keys

Leads to the following output:

 #undef                
 #undef                
    "solar-germany"    
 #undef                
    "wind-germany"     
 #undef                
 #undef                
 #undef                
 #undef                
 #undef                
 #undef                
 #undef                
 #undef                
 #undef                
 #undef                
    "el_demand-germany"

This seems not to be an issue in any of the current implementations, but if we want to call keys (e.g. I am trying to find extremes among all wind periods ), the #undef entries give errors.

holgerteichgraeber commented 4 years ago

Never mind, I used python syntax in julia. Need to use keys(clust_data.data). https://stackoverflow.com/questions/37817921/why-julia-produces-undef-keys-in-dictionary