Fix coord_tiles
This commit is contained in:
parent
dd76f031fb
commit
06649497ae
@ -25,7 +25,8 @@ def run(rasters_path, rasters_name, gt_suffix='gt.tif'):
|
||||
for gtn in gt_names:
|
||||
gt += [load_tif(gtn)]
|
||||
|
||||
rasters += [{Path(n).stem: load_tif(gtn.as_posix().strip(gt_suffix) + n)
|
||||
rasters += [{Path(n).stem:
|
||||
load_tif(gtn.as_posix().replace(gt_suffix, '') + n)
|
||||
for n in rasters_name}]
|
||||
|
||||
return gt, rasters
|
||||
|
||||
Loading…
Reference in New Issue
Block a user