mbuuck commited on
Commit
43078fa
1 Parent(s): 0264353

_load_indices can be static

Browse files
Files changed (1) hide show
  1. 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
- def _load_indices(self, indices_file):
 
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: