Skip to content

Commit 756cb08

Browse files
smrf overwrite (#1950)
1 parent c433802 commit 756cb08

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

opendm/dem/pdal.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ def run_pdaltranslate_smrf(fin, fout, scalar, slope, threshold, window):
160160
'-i %s' % fin,
161161
'-o %s' % fout,
162162
'smrf',
163+
'--overwrite',
163164
'--filters.smrf.scalar=%s' % scalar,
164165
'--filters.smrf.slope=%s' % slope,
165166
'--filters.smrf.threshold=%s' % threshold,
@@ -192,4 +193,4 @@ def translate(input, output):
192193
'-o "%s"' % output,
193194
]
194195

195-
system.run(' '.join(cmd))
196+
system.run(' '.join(cmd))

0 commit comments

Comments
 (0)