Closed bakkerbakker closed 3 months ago
I tests the changes on:
mamba pgc
environment on Windows:
mamba pgc
environment on Rookery:
OSGeo4W Shell
on Windows:
gdal_pansharpen.py
file in a conda environment that doesn't exist using an environment variable that isn't set. 05-31-2024 13:29:36 ERROR- Error found - Return Code = 2: python %CONDA_PREFIX%\scripts\gdal_pansharpen.py -of GTiff -co "PHOTOMETRIC=MINISBLACK" ...
05-31-2024 13:29:36 DEBUG- STDOUT: b''
05-31-2024 13:29:36 DEBUG- STDERR: b"python: can't open file 'C:\\ ... \\%CONDA_PREFIX%\\\\scripts\\\\gdal_pansharpen.py': [Errno 2] No such file or directory\r\n"
Since migrating to using mamba/conda on Windows machines instead of OSGeo4W, the
gdal_pansharpen.py
command required a patch to run as expected in the pgc env.