Skip to content
Snippets Groups Projects
Commit ce69280f authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Merge branch 'bugfix/fix_unexpected_progressbar' into 'master'

Bugfix/fix unexpected progressbar

Closes #99

See merge request !80
parents 7fc7cc3e 449dadb6
No related branches found
No related tags found
1 merge request!80Bugfix/fix unexpected progressbar
Pipeline #58385 passed
......@@ -6,7 +6,7 @@ History
-------------------
* !79: ACwater is installed from pip as long as it is not yet packaged within the EnPT conda-forge builds.
* !80: Fixed #99 (Unexpected progress bar within co-registration).
0.19.0 (2023-02-17)
-------------------
......
......@@ -167,7 +167,7 @@ class Spatial_Optimizer(object):
dst_ds.GetRasterBand(1).Fill(int(src_nodata))
# reproject the needed subset from the reference image to a UTM 15m grid (like self._EnMAP_band)
cb = ProgressBar(prefix='Warping progress ', timeout=None) if ~self.cfg.disable_progress_bars else None
cb = ProgressBar(prefix='Warping progress ') if not self.cfg.disable_progress_bars else None
gdal.SetConfigOption('GDAL_NUM_THREADS', f'{self.cfg.CPUs}')
gdal.ReprojectImage(
src_ds,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment