diff --git a/covjsonkit/decoder/TimeSeries.py b/covjsonkit/decoder/TimeSeries.py index 709a0a8..1de84ed 100644 --- a/covjsonkit/decoder/TimeSeries.py +++ b/covjsonkit/decoder/TimeSeries.py @@ -80,7 +80,7 @@ def to_xarray(self): param_values = {} - for parameter in ["ssrd", "2t"]: + for parameter in self.parameters: param_values[parameter] = [] for i, num in enumerate(nums): param_values[parameter].append([])