polytope-python 1.0.28__tar.gz → 1.0.30__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.28/polytope_python.egg-info → polytope-python-1.0.30}/PKG-INFO +1 -1
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/backends/datacube.py +4 -1
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/transformations/datacube_mappers/mapper_types/reduced_gaussian.py +2 -2
- polytope-python-1.0.30/polytope_feature/version.py +1 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30/polytope_python.egg-info}/PKG-INFO +1 -1
- polytope-python-1.0.28/polytope_feature/version.py +0 -1
- {polytope-python-1.0.28 → polytope-python-1.0.30}/LICENSE +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/MANIFEST.in +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/__init__.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/__init__.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/backends/__init__.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/backends/fdb.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/backends/mock.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/backends/xarray.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/datacube_axis.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/index_tree_pb2.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/tensor_index_tree.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/transformations/__init__.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/transformations/datacube_cyclic/__init__.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/transformations/datacube_cyclic/datacube_cyclic.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/transformations/datacube_mappers/__init__.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/transformations/datacube_mappers/datacube_mappers.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/transformations/datacube_mappers/mapper_types/__init__.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/transformations/datacube_mappers/mapper_types/healpix.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/transformations/datacube_mappers/mapper_types/healpix_nested.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/transformations/datacube_mappers/mapper_types/local_regular.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/transformations/datacube_mappers/mapper_types/octahedral.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/transformations/datacube_mappers/mapper_types/reduced_ll.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/transformations/datacube_mappers/mapper_types/regular.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/transformations/datacube_merger/__init__.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/transformations/datacube_merger/datacube_merger.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/transformations/datacube_reverse/__init__.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/transformations/datacube_reverse/datacube_reverse.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/transformations/datacube_transformations.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/transformations/datacube_type_change/__init__.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/transformations/datacube_type_change/datacube_type_change.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/tree_encoding.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/engine/__init__.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/engine/engine.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/engine/hullslicer.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/options.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/polytope.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/shapes.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/utility/__init__.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/utility/combinatorics.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/utility/exceptions.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/utility/geometry.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/utility/list_tools.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/utility/profiling.py +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_python.egg-info/SOURCES.txt +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_python.egg-info/dependency_links.txt +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_python.egg-info/not-zip-safe +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_python.egg-info/requires.txt +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_python.egg-info/top_level.txt +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/pyproject.toml +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/requirements.txt +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/setup.cfg +0 -0
- {polytope-python-1.0.28 → polytope-python-1.0.30}/setup.py +0 -0
{polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/backends/datacube.py
RENAMED
|
@@ -140,7 +140,10 @@ class Datacube(ABC):
|
|
|
140
140
|
"""
|
|
141
141
|
Get the type mapper for a subaxis of the datacube given by label
|
|
142
142
|
"""
|
|
143
|
-
|
|
143
|
+
ax = self._axes.get(axis, None)
|
|
144
|
+
if ax is None:
|
|
145
|
+
raise KeyError("The datacube does not contain a {} axis", axis)
|
|
146
|
+
return ax
|
|
144
147
|
|
|
145
148
|
def remap_path(self, path: DatacubePath):
|
|
146
149
|
for key in path:
|
|
@@ -1425,7 +1425,7 @@ class ReducedGaussianGridMapper(DatacubeMapper):
|
|
|
1425
1425
|
def axes_idx_to_reduced_gaussian_idx(self, first_idx, second_idx):
|
|
1426
1426
|
Ny_array = self.lon_spacing()
|
|
1427
1427
|
idx = 0
|
|
1428
|
-
for i in range(
|
|
1428
|
+
for i in range(len(Ny_array)):
|
|
1429
1429
|
if i != first_idx:
|
|
1430
1430
|
idx += Ny_array[i]
|
|
1431
1431
|
else:
|
|
@@ -1455,5 +1455,5 @@ class ReducedGaussianGridMapper(DatacubeMapper):
|
|
|
1455
1455
|
|
|
1456
1456
|
# md5 grid hash in form {resolution : hash}
|
|
1457
1457
|
_md5_hash = {
|
|
1458
|
-
320: "
|
|
1458
|
+
320: "00c7b107673deb45f968637b661ea25b",
|
|
1459
1459
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.0.30"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.0.28"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/backends/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/backends/mock.py
RENAMED
|
File without changes
|
{polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/backends/xarray.py
RENAMED
|
File without changes
|
{polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/datacube_axis.py
RENAMED
|
File without changes
|
{polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/index_tree_pb2.py
RENAMED
|
File without changes
|
{polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/tensor_index_tree.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_feature/datacube/tree_encoding.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{polytope-python-1.0.28 → polytope-python-1.0.30}/polytope_python.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|