Skip to content

Commit

Permalink
Replace gdal python bindings (new style compulsory since GDAL 3.2.1)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucduron committed Feb 23, 2024
1 parent 843309c commit a8f9d8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/mesh_crue10_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def mesh_crue10_run(args):

if not os.path.exists(args.infile_dem):
raise TatooineException("File not found: %s" % args.infile_dem)
from gdal import Open
from osgeo.gdal import Open

raster = Open(args.infile_dem)
dem_interp = interp_raster(raster)
Expand Down

0 comments on commit a8f9d8e

Please sign in to comment.