Commit 179d0f71 authored by Remi Cresson's avatar Remi Cresson
Browse files

COMP: import gdal --> from osgeo import gdal

1 merge request!7FIX: follow API changes in pyotb
Pipeline #39774 failed with stages
in 9 minutes and 31 seconds
Showing with 3 additions and 3 deletions
+3 -3
...@@ -31,7 +31,7 @@ import sys ...@@ -31,7 +31,7 @@ import sys
import json import json
import numpy as np import numpy as np
from matplotlib import pyplot as plt from matplotlib import pyplot as plt
import gdal from osgeo import gdal
parser = argparse.ArgumentParser(description="dataset test") parser = argparse.ArgumentParser(description="dataset test")
parser.add_argument("--input_dir", help="A directory containing S1 or S2 files", required=True) parser.add_argument("--input_dir", help="A directory containing S1 or S2 files", required=True)
......
...@@ -25,7 +25,7 @@ DEALINGS IN THE SOFTWARE. ...@@ -25,7 +25,7 @@ DEALINGS IN THE SOFTWARE.
import argparse import argparse
import logging import logging
import elevation import elevation
import gdal from osgeo import gdal
import decloud.preprocessing.constants as constants import decloud.preprocessing.constants as constants
import otbApplication as otb import otbApplication as otb
from decloud.core import system from decloud.core import system
......
...@@ -4,7 +4,7 @@ import os ...@@ -4,7 +4,7 @@ import os
import subprocess import subprocess
import unittest import unittest
import filecmp import filecmp
import gdal from osgeo import gdal
import otbApplication as otb import otbApplication as otb
from abc import ABC from abc import ABC
from decloud.core.system import get_env_var, basename from decloud.core.system import get_env_var, basename
......
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