From bf6c2117b506c2ec10629d642e926e0897c7414c Mon Sep 17 00:00:00 2001 From: PennyHow Date: Thu, 23 May 2024 14:45:03 -0100 Subject: [PATCH] convert de-bug --- src/griml/convert/convert.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/griml/convert/convert.py b/src/griml/convert/convert.py index 90ef190..5b1ce61 100644 --- a/src/griml/convert/convert.py +++ b/src/griml/convert/convert.py @@ -28,8 +28,8 @@ def convert(indir, proj, band_info, startdate, enddate, outdir=None): # Convert raster to vector if outdir is not None: outfile = str(Path(outdir).joinpath(Path(i).stem+'.shp')) - g = raster_to_vector(str(i), proj, band_info, startdate, enddate, None) - print('Saved to '+str(Path(outfile).name)) + g = raster_to_vector(str(i), proj, band_info, startdate, enddate, outfile) + print('Saved to '+str(Path(outfile))) else: g = raster_to_vector(str(i), proj, band_info, startdate, enddate)