Spaces:
Build error
Build error
_load_indices can be static
Browse files- utils/indicators.py +2 -1
utils/indicators.py
CHANGED
|
@@ -75,7 +75,8 @@ class IndexGenerator:
|
|
| 75 |
)
|
| 76 |
return composite_cloudfree.clip(self.roi)
|
| 77 |
|
| 78 |
-
|
|
|
|
| 79 |
# Read index configurations
|
| 80 |
with open(indices_file, "r") as stream:
|
| 81 |
try:
|
|
|
|
| 75 |
)
|
| 76 |
return composite_cloudfree.clip(self.roi)
|
| 77 |
|
| 78 |
+
@staticmethod
|
| 79 |
+
def _load_indices(indices_file):
|
| 80 |
# Read index configurations
|
| 81 |
with open(indices_file, "r") as stream:
|
| 82 |
try:
|