Re: [gdal-dev] Missing exception when using multithread=True for gdal.Warp

2025-03-04 Thread Tim Harris via gdal-dev
Thanks Even! On Tue, Mar 4, 2025 at 7:51 AM Even Rouault wrote: > Tim, > > wil be solved (in 3.11 only) per https://github.com/OSGeo/gdal/pull/11915 > > In the meantime, check for gdal.Warp() return value: if None, an error > occurred > > Even > Le 01/03/2025 à 01:00, Tim Harris via gdal-dev a é

Re: [gdal-dev] Motion: Add Michael Smith to GDAL PSC

2025-03-04 Thread Daniel Baston via gdal-dev
+1 Dan On Mon, Mar 3, 2025 at 11:30 AM Daniel Morissette via gdal-dev < gdal-dev@lists.osgeo.org> wrote: > Hi PSC members, > > I would like to nominate Michael Smith to become a member of the GDAL > Project Steering Committee. > >https://www.osgeo.org/member/michael-smith/ > > Mike is a long

Re: [gdal-dev] Missing exception when using multithread=True for gdal.Warp

2025-03-04 Thread Even Rouault via gdal-dev
Tim, wil be solved (in 3.11 only) per https://github.com/OSGeo/gdal/pull/11915 In the meantime, check for gdal.Warp() return value: if None, an error occurred Even Le 01/03/2025 à 01:00, Tim Harris via gdal-dev a écrit : Hi, I'm having some trouble warping a VRT to a TIF where the VRT and i

Re: [gdal-dev] Motion: Add Michael Smith to GDAL PSC

2025-03-04 Thread Sean Gillies via gdal-dev
+1 On Mon, Mar 3, 2025 at 9:30 AM Daniel Morissette via gdal-dev < gdal-dev@lists.osgeo.org> wrote: > Hi PSC members, > > I would like to nominate Michael Smith to become a member of the GDAL > Project Steering Committee. > >https://www.osgeo.org/member/michael-smith/ > > Mike is a long time

Re: [gdal-dev] Mute HDF5-DIAG diagnostic output

2025-03-04 Thread Laurențiu Nicola via gdal-dev
I guess that's because you're enabling exceptions, but even without them I get no error logging at all, at least on the file I tried with. Laurentiu On Wed, Mar 5, 2025, at 08:55, Christian Beilschmidt via gdal-dev wrote: > I tried it with the Python bindings, but there I don't get the `HDF5-DIA

Re: [gdal-dev] Mute HDF5-DIAG diagnostic output

2025-03-04 Thread Christian Beilschmidt via gdal-dev
I tried it with the Python bindings, but there I don't get the HDF5-DIAG messages at all. # Ubuntu 24 LTS version pip install gdal[numpy]=="3.8.4.*" ** from osgeo import gdal gdal.UseExceptions() dataset = gdal.OpenEx( "path/to/file.nc", nOpenFlags=gdal.OF_MULTIDIM_RASTER | gdal.OF_READON

Re: [gdal-dev] Mute HDF5-DIAG diagnostic output

2025-03-04 Thread Laurențiu Nicola via gdal-dev
PS: the only reference to HDF5's error handling I found while skimming the GDAL code was https://github.com/OSGeo/gdal/blob/0caa252/frmts/hdf5/hdf5vfl.h#L236-L241. On Tue, Mar 4, 2025, at 10:09, Laurențiu Nicola via gdal-dev wrote: > Hi Christian, > > On Tue, Mar 4, 2025, at 10:05, Christian Be

Re: [gdal-dev] Mute HDF5-DIAG diagnostic output

2025-03-04 Thread Laurențiu Nicola via gdal-dev
Hi Christian, On Tue, Mar 4, 2025, at 10:05, Christian Beilschmidt via gdal-dev wrote: I tried sending GDAL's error logging to /dev/null but this does not change anything. I take it https://docs.rs/gdal/latest/gdal/config/fn.set_error_handler

[gdal-dev] Mute HDF5-DIAG diagnostic output

2025-03-04 Thread Christian Beilschmidt via gdal-dev
Dear GDAL devs, I am using GDAL 3.8.4 and have some tests in a Rust codebase that check behavior on trying to open non-existing NetCDF files, non-existing groups within the NetCDF, etc. I am working with the dataset by opening it as a multid

Re: [gdal-dev] pansharpening on images with RPCs post GDAL 3.6

2025-03-04 Thread Joe McGlinchy via gdal-dev
Hello, I figured a way around this, and to be completely honest this issue was coming up from using the DIMAP files (for Pleiades NEO and HR) for the panchromatic and multispectral images and so were loaded with the DIMAP driver. 1. My images for input to pansharpening had no geotransform, as t