Commit ce2213a1 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

ENH: workaroud for otb gitlab issue #2030

parent 6fd6fd8e
......@@ -25,11 +25,12 @@ from datetime import timedelta
from lxml import etree
# OTB Applications (import otbApplication before gdal. see otb issue #2030)
import otbApplication as otb
import gdal
from gdalconst import GA_ReadOnly
# OTB Applications
import otbApplication as otb
# Import python decorators for the different needed OTB applications
from s2snow.app_wrappers import band_math, get_app_output, super_impose
......
......@@ -21,11 +21,13 @@ import shutil
import logging
import subprocess
# OTB Applications (import otbApplication before gdal. see otb issue #2030)
import otbApplication as otb
from osgeo import gdal, ogr, osr
import gdalconst
# OTB Applications
import otbApplication as otb
# Import python decorators for the different needed OTB applications
from s2snow.app_wrappers import band_math, super_impose, confusion_matrix
......
......@@ -22,12 +22,12 @@ import shutil
import logging
from lxml import etree
# OTB Applications (import otbApplication before gdal. see otb issue #2030)
import otbApplication as otb
import gdal
from gdalconst import GA_ReadOnly, GA_Update
# OTB Applications
import otbApplication as otb
# Preprocessing script
from s2snow.dem_builder import build_dem
......
Supports Markdown
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