From 7e9a9ac2b44c8780f1145b182183bb1b49455d8e Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Thu, 6 Jul 2017 20:38:21 -0400 Subject: [PATCH] Parameter order fix --- scripts/odm_dem.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/odm_dem.py b/scripts/odm_dem.py index bbe78b77..57d8870f 100644 --- a/scripts/odm_dem.py +++ b/scripts/odm_dem.py @@ -131,8 +131,8 @@ class ODMDEMCell(ecto.Cell): if run_classification: system.run('l2d_classify {0} --decimation {1} ' '{2} --initialDistance {3} {4}'.format( - l2d_params, args.dem_decimation, args.dem_initial_distance, - approximate, tree.odm_georeferencing), env_paths) + l2d_params, args.dem_decimation, approximate, + args.dem_initial_distance, tree.odm_georeferencing), env_paths) else: log.ODM_INFO("Will skip classification, only DSM is needed") copyfile(tree.odm_georeferencing_model_las, os.path.join(odm_dem_root, 'bounds-0_l2d_s{slope}c{cellsize}.las'.format(**kwargs)))