Parse landcover to dict
minibench_retrieval.py: I parsed this with a list comprehension. But this is not very readable! Maybe we have to create utils.py and import this helper function from there:
def string_to_dict(string):
d = {}
for entry in string.split(","):
key, value = entry.split(":")
d[key.strip()] = float(value.strip("%"))
return d
Edited by Clara Betancourt