VForWaTer / metacatalog

Modular metadata management platform for environmental data.
https://vforwater.github.io/metacatalog
GNU General Public License v3.0
3 stars 1 forks source link

ImmutableResultSet check .get_data() #177

Open AlexDo1 opened 2 years ago

AlexDo1 commented 2 years ago

We should check (and test) the get_data() method of class ImmutableResultSet. Sometimes data is not merged correctly, I'm not sure why that is the case (it seems to work for LUBW and Eddy Covariance data). Duplicate column names seem to be a problem (data coming from result set test:) Bildschirmfoto 2022-07-07 um 17 12 04

This is the .get_data() method: https://github.com/VForWaTer/metacatalog/blob/5dd8b9bb8c9897581d5940a0a95f477debc1fcdd/metacatalog/util/results.py#L339-L342

get_data() does not always return a dictionary! The method could also get a harmonize parameter with the same functionality as discussed in #160.

mmaelicke commented 1 year ago

@AlexDo1, did we solve this along the way?