You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...
defrequires_loading(self, datetime_range):
group_index=self.variables_indexes[self.variable][self.layer_numbers[0]]
ifself.requires_static_index(
datetime_range
): # Just take the first one in such a casesample_index= (group_index, 0)
else:
index=self.layer.datasetIndexAtTime(datetime_range, group_index)
sample_index= (index.group(), index.dataset())
ifsample_index==self.sample_index:
returnFalseelse:
returnTrue
...
The check doesn't account if anything defined in self.x, which is what happens in the base class:
* First version of fix with code duplication
* Refactor to use Mixins
* fix docstring
* Refactor duplicate code away in SupportsTemporalMixin and fix bug in its requires_loading() method, which would return False if different cross-section was drawn but same timestep selected
* Update changelog
* Add comment
The check doesn't account if anything defined in
self.x
, which is what happens in the base class:The text was updated successfully, but these errors were encountered: