Dear Andrea,
Thank you very much for your support, I have
installed QGIS 3.22.8 - OSGeo4W-3.22.8-4.msi Standalone Installer
Format is TIFF
Other GDAL tools show the same problem.
Here’s an example:
QGIS version: 3.22.8-Białowieża
QGIS code revision: 8d5e9761df
Qt version: 5.15.3
Python version: 3.9.5
GDAL version: 3.5.0
GEOS version: 3.10.3-CAPI-1.16.1
PROJ version: Rel. 9.0.1, June 15th, 2022
PDAL version: 2.3.0 (git-version: 988ee3)
Algorithm started at: 2022-07-18T12:15:08
Algorithm 'r.series' starting…
Input parameters:
{ '-n' : False, 'GRASS_RASTER_FORMAT_META' : '', 'GRASS_RASTER_FORMAT_OPT' :
'', 'GRASS_REGION_CELLSIZE_PARAMETER' : 0, 'GRASS_REGION_PARAMETER' : None,
'input' :
['C:/TEMP/KenV3_Temp/New_KEN_AnimalDens_normalized.tif','C:/TEMP/KenV3_Temp/New_KEN_PopDens_normalized.tif'],
'method' : [6], 'output' : 'TEMPORARY_OUTPUT', 'quantile' : '', 'range' :
[nan,nan], 'weights' : '' }
g.proj -c
wkt="C:/Users/nelso/AppData/Local/Temp/processing_mTLFxN/5889ce066fa4406a99060990a6c1b51f/crs.prj"
r.external input="C:\TEMP\KenV3_Temp\New_KEN_AnimalDens_normalized.tif" band=1
output="rast_62d540bc59b732" --overwrite -o
r.external input="C:\TEMP\KenV3_Temp\New_KEN_PopDens_normalized.tif" band=1
output="rast_62d540bc59b733" --overwrite -o
g.region n=4.617852097 s=-4.722077760000001 e=41.909679995 w=33.91974
res=0.009999924899874843
r.series input=rast_62d540bc59b732,rast_62d540bc59b733 method="maximum"
output=output6c2769effb3240fd80ef6cc7ab9e5925 --overwrite
g.region raster=output6c2769effb3240fd80ef6cc7ab9e5925
r.out.gdal -t -m input="output6c2769effb3240fd80ef6cc7ab9e5925"
output="C:\Users\nelso\AppData\Local\Temp\processing_mTLFxN\35cc2b51cf644dcb9318263aebc13d17\output.tif"
format="GTiff" createopt="TFW=YES,COMPRESS=LZW" --overwrite
Starting GRASS GIS...
WARNING: Concurrent mapset locking is not supported on Windows
Cleaning up temporary files...
Executing
<C:\Users\nelso\AppData\Local\Temp\processing_mTLFxN\grassdata\grass_batch_job.cmd>
...
C:\Users\nelso\Documents>chcp 1252 1>NUL
C:\Users\nelso\Documents>g.proj -c
wkt="C:/Users/nelso/AppData/Local/Temp/processing_mTLFxN/5889ce066fa4406a99060990a6c1b51f/crs.prj"
Default region was updated to the new projection, but if you have multiple
mapsets `g.region -d` should be run in each to update the region from the
default
Projection information updated
C:\Users\nelso\Documents>r.external
input="C:\TEMP\KenV3_Temp\New_KEN_AnimalDens_normalized.tif" band=1
output="rast_62d540bc59b732" --overwrite -o
Over-riding projection check
Reading band 1 of 1...
Link to raster map <rast_62d540bc59b732> created.
C:\Users\nelso\Documents>r.external
input="C:\TEMP\KenV3_Temp\New_KEN_PopDens_normalized.tif" band=1
output="rast_62d540bc59b733" --overwrite -o
Over-riding projection check
Reading band 1 of 1...
Link to raster map <rast_62d540bc59b733> created.
C:\Users\nelso\Documents>g.region n=4.617852097 s=-4.722077760000001
e=41.909679995 w=33.91974 res=0.009999924899874843
C:\Users\nelso\Documents>r.series input=rast_62d540bc59b732,rast_62d540bc59b733
method="maximum" output=output6c2769effb3240fd80ef6cc7ab9e5925 --overwrite
ERROR: Unable to load GDAL library
C:\Users\nelso\Documents>g.region raster=output6c2769effb3240fd80ef6cc7ab9e5925
ERROR: Raster map <output6c2769effb3240fd80ef6cc7ab9e5925> not found
C:\Users\nelso\Documents>r.out.gdal -t -m
input="output6c2769effb3240fd80ef6cc7ab9e5925"
output="C:\Users\nelso\AppData\Local\Temp\processing_mTLFxN\35cc2b51cf644dcb9318263aebc13d17\output.tif"
format="GTiff" createopt="TFW=YES,COMPRESS=LZW" --overwrite
ERROR: Raster map or group <output6c2769effb3240fd80ef6cc7ab9e5925> not found
C:\Users\nelso\Documents>exit
Execution of
<C:\Users\nelso\AppData\Local\Temp\processing_mTLFxN\grassdata\grass_batch_job.cmd>
finished.
Cleaning up temporary files...
Press any key to continue . . .
Execution completed in 1.35 seconds
Results:
{'output':
'C:\\Users\\nelso\\AppData\\Local\\Temp\\processing_mTLFxN\\35cc2b51cf644dcb9318263aebc13d17\\output.tif'}
Loading resulting layers
The following layers were not correctly generated.
•
C:/Users/nelso/AppData/Local/Temp/processing_mTLFxN/35cc2b51cf644dcb9318263aebc13d17/output.tif
You can check the 'Log Messages Panel' in QGIS main window to find more
information about the execution of the algorithm.
Best regards,
Nelson
From: Qgis-user <[email protected]> On Behalf Of Andrea
Giudiceandrea via Qgis-user
Sent: 16 July 2022 11:02
To: [email protected]
Subject: Re: [Qgis-user] GRASS r.series - ERROR: Unable to load GDAL library
Nelson Ribeiro
Fri Jul 15 02:52:21 PDT 2022
________________________________
ERROR: Unable to load GDAL library
Hi Nelson,
did you install QGIS 3.22.8 using the OSGeo4W Standalone Installer or the
OSGeo4W Network Installer? If the latter, have you updated all the installed
packages? If the former, what installer exactly: the QGIS-OSGeo4W-3.22.8-3.msi
or the QGIS-OSGeo4W-3.22.8-4.msi installer?
What format is your raster layer? Does any of the GRASS processing algorithm
work?
Could you please report the whole processing log?
Does GRASS-GIS starts without issue if launched using the shortcut link? Does
the r.series tool works in GRASS-GIS?
I've just tried to run r.series with QGIS 3.22.8 installed using the
QGIS-OSGeo4W-3.22.8-4.msi OSGeo4W Standalone Installer and also installed using
the OSGeo4W Network Installer and there is no issue with both in my system.
Anyway, right now the new QGIS versions, 3.22.9 and 3.26.1, are available in
OSGeo4W Network Installer and the corresponding new OSGeo4W Standalone
Installers are available at https://download.qgis.org/downloads/?C=M;O=D
Best regards.
Andrea
_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user