Skip to content

Commit db9df66

Browse files
[gamma.geocode] updated argument names of isp.MLI_cat
1 parent ee673e3 commit db9df66

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

pyroSAR/gamma/util.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -891,11 +891,11 @@ def geocode(scene, dem, tmpdir, outdir, spacing, scaling='linear', func_geoback=
891891
all_exist = all([os.path.isfile(x) for x in [out, out_par]])
892892
if not all_exist:
893893
log.info('mosaicing scenes')
894-
isp.MLI_cat(MLI_1=group[0],
894+
isp.MLI_cat(MLI1=group[0],
895895
MLI1_par=group[0] + '.par',
896-
MLI_2=group[1],
896+
MLI2=group[1],
897897
MLI2_par=group[1] + '.par',
898-
MLI_3=out,
898+
MLI3=out,
899899
MLI3_par=out_par,
900900
logpath=path_log, outdir=tmpdir, shellscript=shellscript)
901901
par2hdr(out_par, out + '.hdr')

tests/test_gamma_args.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ def test_args_disp():
4747
def test_args_isp():
4848
from pyroSAR.gamma.api import isp
4949
lookup = {
50+
'MLI_cat': ['degree', 'dtype', 'extrapol', 'interp_mode', 'mflg',
51+
'MLI1', 'MLI1_par', 'MLI2', 'MLI2_par', 'MLI3', 'MLI3_par',
52+
'overlap'],
5053
'multi_look': ['MLI', 'MLI_par', 'SLC', 'SLC_par', 'azlks', 'exp',
5154
'loff', 'nlines', 'rlks', 'scale'],
5255
'multi_look_MLI': ['MLI_in', 'MLI_in_par', 'MLI_out', 'MLI_out_par',

0 commit comments

Comments
 (0)