Commit 3a26d7c4 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fixed typo.

parent d5362546
......@@ -187,11 +187,11 @@ class Scene_finder(object):
self.GDF_ref_scenes = GDF[GDF['proc_level'].notnull()]
self.logger.info('%s scenes => %s scenes' % (len(GDF), len(self.GDF_ref_scenes)))
def _filter_by_dataset_existance(self):
def _filter_by_dataset_existence(self):
"""Filter all scenes where no processed data can be found on fileserver."""
GDF = self.GDF_ref_scenes
if not GDF.empty:
self.logger.info('Existance filter: Excluding all scenes where no processed data have been found.')
self.logger.info('Existence filter: Excluding all scenes where no processed data have been found.')
self.GDF_ref_scenes = GDF[GDF['refDs_exists']]
self.logger.info('%s scenes => %s scenes' % (len(GDF), len(self.GDF_ref_scenes)))
......@@ -227,7 +227,7 @@ class Scene_finder(object):
self._filter_excluded_sceneID()
self._filter_by_overlap()
self._filter_by_proc_status()
self._filter_by_dataset_existance()
self._filter_by_dataset_existence()
self._filter_by_entity_ID_availability()
self._filter_by_projection()
......
......@@ -118,8 +118,8 @@ class GMSEnvironment(object):
@staticmethod
def check_paths(): # TODO to be completed
# check existance of database paths, etc.
# check existance of cloud classifier dill objects from PG.get_path_cloud_class_obj()
# check existence of database paths, etc.
# check existence of cloud classifier dill objects from PG.get_path_cloud_class_obj()
if not os.path.exists(CFG.path_archive):
raise GMSEnvironmentError("The given provider archive path '%s' does not exist!" % CFG.path_archive)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment