Commit 4c3af937 authored by Teresa Piovesan's avatar Teresa Piovesan

Fix timeseries import PIMixin for ensembles

The looping in PIMixin was done correctly, but the underlying Timeseries
class in pi.py only ever returned the values of the first ensemble
member.
parent 2d4c12fb
......@@ -1043,4 +1043,4 @@ class Timeseries:
ensemble member.
"""
for key in self.__values[ensemble_member].keys():
yield key, self.get(key)
yield key, self.get(key, ensemble_member)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment