MCPcopy Create free account
hub / github.com/RolnickLab/climart / OnlyLevelsAreNodesTransforms

Class OnlyLevelsAreNodesTransforms

climart/data_transform/transforms.py:181–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179
180
181class OnlyLevelsAreNodesTransforms(AbstractGraphTransform, ABC):
182 def __init__(self, exp_type: str):
183 super().__init__(exp_type)
184 self._n_nodes = self.spatial_input_dim[LEVELS]
185 self.LEVEL_NODES = slice(0, self.n_nodes) # all nodes are level nodes
186
187
188class AllAreNodesTransforms(AbstractGraphTransform, ABC):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected