sampling mode domain added
This commit is contained in:
committed by
Nicola Demo
parent
fd16fcf9b4
commit
aef5a5d590
@@ -24,6 +24,9 @@ class OperationInterface(DomainInterface, metaclass=ABCMeta):
|
||||
# assign geometries
|
||||
self._geometries = geometries
|
||||
|
||||
# sampling mode, for now random is the only available
|
||||
self.sample_modes = "random"
|
||||
|
||||
@property
|
||||
def geometries(self):
|
||||
"""
|
||||
@@ -65,4 +68,4 @@ class OperationInterface(DomainInterface, metaclass=ABCMeta):
|
||||
if geometry.variables != geometries[0].variables:
|
||||
raise NotImplementedError(
|
||||
f"The geometries need to have same dimensions and labels."
|
||||
)
|
||||
)
|
||||
Reference in New Issue
Block a user