[gdal-dev] Is it possible to switch warnings off?
Mateusz Loskot
mateusz at loskot.net
Sun Mar 7 14:11:26 PST 2021
On Sun, 7 Mar 2021 at 21:42, Joaquim Manuel Freire Luís <jluis at ualg.pt> wrote:
>
> I have this strange case where some warnings come from don’t know where.
> [...]
> Warning 1: The dataset has several variables that could be identified as vector fields, but not all share the same primary dimension. Consequently they will be ignored.
https://github.com/OSGeo/gdal/blob/fa752ad6eabafaf630a704e1892a9d837d683cb3/gdal/frmts/netcdf/netcdfdataset.cpp#L11567-L11570
> Is there anyway to shut up this warnings, or warnings in general?
https://gdal.org/api/cpl.html?highlight=cplerror#_CPPv48CPLError6CPLErr11CPLErrorNumPKcz
"The effect of this function can be altered by applications by
installing a custom error handling using CPLSetErrorHandler()."
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
More information about the gdal-dev
mailing list