Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Daniel Scheffler
arosics
Commits
e9f93afc
Commit
e9f93afc
authored
Jul 20, 2018
by
Daniel Scheffler
Browse files
Bugfix for issue #13 (ValueError related to pandas.merge).
parent
10d9c448
Pipeline
#3042
passed with stages
in 3 minutes and 23 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
arosics/Tie_Point_Grid.py
View file @
e9f93afc
...
...
@@ -368,8 +368,8 @@ class Tie_Point_Grid(object):
bar
.
print_progress
((
i
+
1
)
/
len
(
GDF
)
*
100
)
results
[
i
,
:]
=
self
.
_get_spatial_shifts
(
coreg_kwargs
)
# merge results with GDF
records
=
GeoDataFrame
(
np
.
array
(
results
,
np
.
object
)
,
# merge results with GDF
records
=
GeoDataFrame
(
results
,
columns
=
[
'POINT_ID'
,
'X_WIN_SIZE'
,
'Y_WIN_SIZE'
,
'X_SHIFT_PX'
,
'Y_SHIFT_PX'
,
'X_SHIFT_M'
,
'Y_SHIFT_M'
,
'ABS_SHIFT'
,
'ANGLE'
,
'SSIM_BEFORE'
,
'SSIM_AFTER'
,
'SSIM_IMPROVED'
,
'RELIABILITY'
,
'LAST_ERR'
])
...
...
bin/arosics_cli.py
View file @
e9f93afc
...
...
@@ -63,9 +63,9 @@ def run_local_coreg(args):
min_reliability
=
args
.
min_reliability
,
rs_max_outlier
=
args
.
rs_max_outlier
,
rs_tolerance
=
args
.
rs_tolerance
,
# align_grids
=
args.align_grids,
# match_gsd
=
args.match_gsd,
# out_gsd
=
args.out_gsd,
# align_grids
=
args.align_grids,
# match_gsd
=
args.match_gsd,
# out_gsd
=
args.out_gsd,
resamp_alg_calc
=
args
.
rsp_alg_deshift
,
resamp_alg_deshift
=
args
.
rsp_alg_calc
,
data_corners_ref
=
args
.
cor0
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment