<div dir="ltr"><div><div><br>On Mon, Sep 14, 2015 at 4:53 PM, Markus Neteler <<a href="mailto:neteler@osgeo.org">neteler@osgeo.org</a>> wrote:<br>><br>><br>> If the point of using that env var is to simply suppress the warning<br>> in the upper case, then maybe G_suppress_warnings(1) is better?<br>> Something like<br>><br>> Index: lib/python/temporal/c_libraries_interface.py<br>> ===================================================================<br>> --- lib/python/temporal/c_libraries_interface.py    (revision 66229)<br>> +++ lib/python/temporal/c_libraries_interface.py    (working copy)<br>> @@ -294,7 +294,9 @@<br>>              char_list = ""<br>>              mapset = mapsets[count]<br>><br>> +            libgis.G_suppress_warnings(1)<br>>              permission = libgis.G_mapset_permissions(mapset)<br>> +            libgis.G_suppress_warnings(0)<br>>              in_search_path = libgis.G_is_mapset_in_search_path(mapset)<br>><br>> I see it used in various raster modules.<br>> What do you think?<br><br></div>Well, if it is in multiple raster modules then it is a conceptual problem. Either the modules are doing something wrong or the right API is missing for that case.<br><br></div>Vaclav<br></div>