Commit e92378de authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Added docs.

parent d3a79944
Pipeline #2962 passed with stage
in 17 minutes and 11 seconds
......@@ -16,7 +16,7 @@ import tempfile
import numpy as np
from geoarray import GeoArray
from gms_preprocessing import set_config # noqa E402 module level import not at top of file
from gms_preprocessing import set_config
from gms_preprocessing.algorithms.classification import MinimumDistance_Classifier
from gms_preprocessing.algorithms.classification import kNN_Classifier
from gms_preprocessing.algorithms.classification import SAM_Classifier
......@@ -26,7 +26,7 @@ from . import db_host
cfg = set_config(job_ID=26186196, db_host=db_host, reset_status=True, is_test=True)
path_classifier_zip = os.path.join(cfg.path_spechomo_classif, 'LR_classifiers.zip')
fName_cls = 'LR_clust50__Landsat-7__ETM+.dill'
test_gA = GeoArray(np.random.randint(0, 10000, (1010, 1010, 6), np.int16))
test_gA = GeoArray(np.random.randint(0, 10000, (1010, 1010, 6), np.int16)) # 6 Landsat-5 bands
# get cluster centers
with zipfile.ZipFile(path_classifier_zip, "r") as zf, tempfile.TemporaryDirectory() as td:
......
......@@ -16,12 +16,12 @@ import dill
from geoarray import GeoArray
import gms_preprocessing
from gms_preprocessing import set_config # noqa E402 module level import not at top of file
from gms_preprocessing.algorithms.L2B_P import ReferenceCube_Generator # noqa E402 module level import not at top of file
from gms_preprocessing.algorithms.L2B_P import RefCube # noqa E402 module level import not at top of file
from gms_preprocessing.algorithms.L2B_P import SpectralHomogenizer # noqa E402 module level import not at top of file
from gms_preprocessing.algorithms.L2B_P import ClusterClassifier_Generator # noqa E402 module level import not at top of file
from gms_preprocessing.model.gms_object import GMS_identifier # noqa E402 module level import not at top of file
from gms_preprocessing import set_config
from gms_preprocessing.algorithms.L2B_P import ReferenceCube_Generator
from gms_preprocessing.algorithms.L2B_P import RefCube
from gms_preprocessing.algorithms.L2B_P import SpectralHomogenizer
from gms_preprocessing.algorithms.L2B_P import ClusterClassifier_Generator
from gms_preprocessing.model.gms_object import GMS_identifier
from . import db_host
......
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