Skip to content

Commit

Permalink
fixed deprecated gdal imports
Browse files Browse the repository at this point in the history
  • Loading branch information
klarrieu committed Aug 4, 2022
1 parent bc03314 commit 8c7ea0c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions riverrem/REMMaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
import sys
sys.path.append("../")
import numpy as np
import gdal
import osr
import ogr
from osgeo import gdal
from osgeo import osr
from osgeo import ogr
from shapely.geometry import box # for cropping centerlines to extent of DEM
from geopandas import clip, read_file
import osmnx # for querying OpenStreetMaps data to get river centerlines
Expand Down
4 changes: 2 additions & 2 deletions riverrem/RasterViz.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env python
import os
import sys
import gdal
import osr
from osgeo import gdal
from osgeo import osr
import subprocess
import seaborn as sn
import numpy as np
Expand Down

0 comments on commit 8c7ea0c

Please sign in to comment.