polytope-python 1.0.26__tar.gz → 1.0.27__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {polytope-python-1.0.26/polytope_python.egg-info → polytope-python-1.0.27}/PKG-INFO +1 -1
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/datacube/backends/fdb.py +14 -3
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/datacube/transformations/datacube_mappers/datacube_mappers.py +1 -0
- polytope-python-1.0.27/polytope_feature/datacube/transformations/datacube_mappers/mapper_types/reduced_gaussian.py +1459 -0
- polytope-python-1.0.27/polytope_feature/version.py +1 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27/polytope_python.egg-info}/PKG-INFO +1 -1
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_python.egg-info/SOURCES.txt +1 -0
- polytope-python-1.0.26/polytope_feature/version.py +0 -1
- {polytope-python-1.0.26 → polytope-python-1.0.27}/LICENSE +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/MANIFEST.in +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/__init__.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/datacube/__init__.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/datacube/backends/__init__.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/datacube/backends/datacube.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/datacube/backends/mock.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/datacube/backends/xarray.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/datacube/datacube_axis.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/datacube/index_tree_pb2.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/datacube/tensor_index_tree.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/datacube/transformations/__init__.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/datacube/transformations/datacube_cyclic/__init__.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/datacube/transformations/datacube_cyclic/datacube_cyclic.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/datacube/transformations/datacube_mappers/__init__.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/datacube/transformations/datacube_mappers/mapper_types/__init__.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/datacube/transformations/datacube_mappers/mapper_types/healpix.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/datacube/transformations/datacube_mappers/mapper_types/healpix_nested.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/datacube/transformations/datacube_mappers/mapper_types/local_regular.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/datacube/transformations/datacube_mappers/mapper_types/octahedral.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/datacube/transformations/datacube_mappers/mapper_types/reduced_ll.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/datacube/transformations/datacube_mappers/mapper_types/regular.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/datacube/transformations/datacube_merger/__init__.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/datacube/transformations/datacube_merger/datacube_merger.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/datacube/transformations/datacube_reverse/__init__.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/datacube/transformations/datacube_reverse/datacube_reverse.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/datacube/transformations/datacube_transformations.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/datacube/transformations/datacube_type_change/__init__.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/datacube/transformations/datacube_type_change/datacube_type_change.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/datacube/tree_encoding.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/engine/__init__.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/engine/engine.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/engine/hullslicer.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/options.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/polytope.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/shapes.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/utility/__init__.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/utility/combinatorics.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/utility/exceptions.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/utility/geometry.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/utility/list_tools.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_feature/utility/profiling.py +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_python.egg-info/dependency_links.txt +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_python.egg-info/not-zip-safe +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_python.egg-info/requires.txt +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/polytope_python.egg-info/top_level.txt +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/pyproject.toml +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/requirements.txt +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/setup.cfg +0 -0
- {polytope-python-1.0.26 → polytope-python-1.0.27}/setup.py +0 -0
|
@@ -80,10 +80,21 @@ class FDBDatacube(Datacube):
|
|
|
80
80
|
(upper, lower, idx) = polytope.extents(ax)
|
|
81
81
|
if "sfc" in polytope.points[idx]:
|
|
82
82
|
self.fdb_coordinates.pop("levelist", None)
|
|
83
|
+
|
|
84
|
+
if ax == "param":
|
|
85
|
+
(upper, lower, idx) = polytope.extents(ax)
|
|
86
|
+
if "140251" not in polytope.points[idx]:
|
|
87
|
+
self.fdb_coordinates.pop("direction", None)
|
|
88
|
+
self.fdb_coordinates.pop("frequency", None)
|
|
89
|
+
else:
|
|
90
|
+
# special param with direction and frequency
|
|
91
|
+
if len(polytope.points[idx]) > 1:
|
|
92
|
+
raise ValueError(
|
|
93
|
+
"Param 251 is part of a special branching of the datacube. Please request it separately." # noqa: E501
|
|
94
|
+
)
|
|
83
95
|
self.fdb_coordinates.pop("quantile", None)
|
|
84
|
-
|
|
85
|
-
self.fdb_coordinates.pop("
|
|
86
|
-
self.fdb_coordinates.pop("frequency", None)
|
|
96
|
+
self.fdb_coordinates.pop("year", None)
|
|
97
|
+
self.fdb_coordinates.pop("month", None)
|
|
87
98
|
|
|
88
99
|
# NOTE: verify that we also remove the axis object for axes we've removed here
|
|
89
100
|
axes_to_remove = set(self.complete_axes) - set(self.fdb_coordinates.keys())
|