Skip to content

Commit

Permalink
fix output dem
Browse files Browse the repository at this point in the history
  • Loading branch information
smathermather committed Sep 18, 2024
1 parent 08d351b commit 9d7c1a2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions contrib/dem-blend/dem-blend.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,10 @@
print("%s does not exist" % args.input_dems)
exit(1)

outdir = os.path.dirname(args.input_dems)
output_dem = os.path.join(outdir, 'merged_blended_dem.tif')
output_dem = os.path.join(args.input_dems, 'merged_blended_dem.tif')
input_dem_path = os.path.join(args.input_dems, '*.tif')
input_dems = glob.glob(input_dem_path)

merge.euclidean_merge_dems(input_dems
,output_dem=output_dem
,max_workers=multiprocessing.cpu_count()
)

0 comments on commit 9d7c1a2

Please sign in to comment.