Spaces:
Sleeping
Sleeping
Commit
·
9ec8204
1
Parent(s):
5511c20
feat(utils): google maps link for neon images
Browse files
utils.py
CHANGED
|
@@ -27,9 +27,9 @@ def lat_lon_mid_pixel(item, subset: str):
|
|
| 27 |
bounds_crs[2][0],
|
| 28 |
bounds_crs[2][1],
|
| 29 |
)
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
|
| 34 |
else:
|
| 35 |
raise ValueError("subset not known")
|
|
|
|
| 27 |
bounds_crs[2][0],
|
| 28 |
bounds_crs[2][1],
|
| 29 |
)
|
| 30 |
+
elif subset == "neon":
|
| 31 |
+
crs = metadata["epsg"]
|
| 32 |
+
bounds_crs = metadata["bounds"]
|
| 33 |
|
| 34 |
else:
|
| 35 |
raise ValueError("subset not known")
|