Skip to content

Commit 2a37c7d

Browse files
authored
Merge pull request #300 from ecmwf/feature/add_healpix_grid_hashes
add healpix nested md5 hashes
2 parents 105d7e2 + 89c842d commit 2a37c7d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ new_updated_numpy_venv
2626
newest-polytope-venv
2727
serializedTree
2828
new_polytope_venv
29+
*.json

polytope_feature/datacube/transformations/datacube_mappers/mapper_types/healpix_nested.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -222,4 +222,6 @@ def int_sqrt(self, i):
222222

223223

224224
# md5 grid hash in form {resolution : hash}
225-
_md5_hash = {}
225+
_md5_hash = {1024: "cbda19e48d4d7e5e22641154878b9b22",
226+
512: "9533855ee8e38314e19aaa0434c310da",
227+
128: "f3dfeb7a5bbbdd13a20d10fdb3797c71"}

0 commit comments

Comments
 (0)