Skip to content
Snippets Groups Projects
Commit 5cd72739 authored by leufen1's avatar leufen1
Browse files

data handler mixed sampling works now

parent bc55311c
No related branches found
No related tags found
3 merge requests!253include current develop,!252Resolve "release v1.3.0",!237Resolve "individual transformation"
Pipeline #59615 passed
......@@ -75,10 +75,8 @@ class DataHandlerMixedSamplingSingleStation(DataHandlerSingleStation):
return data
def set_inputs_and_targets(self):
inputs = self._data[0].sel({self.target_dim: helpers.to_list(self.variables)})
targets = self._data[1].sel({self.target_dim: self.target_var})
self.input_data.data = inputs
self.target_data.data = targets
self.input_data = self._data[0].sel({self.target_dim: helpers.to_list(self.variables)})
self.target_data = self._data[1].sel({self.target_dim: helpers.to_list(self.target_var)})
def setup_data_path(self, data_path, sampling):
"""Sets two paths instead of single path. Expects sampling arg to be a list with two entries"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment