geopython / OWSLib

OWSLib is a Python package for client programming with Open Geospatial Consortium (OGC) web service (hence OWS) interface standards, and their related content models.
https://owslib.readthedocs.io
BSD 3-Clause "New" or "Revised" License
393 stars 278 forks source link

timeout isn't being used for WebCoverageService #915

Closed mikedig closed 7 months ago

mikedig commented 8 months ago

Trying to change the timeout from the default of 30 seconds, but it doesn't seem to apply.

WebCoverageService(uri, version=WCS_VERSION, timeout=60)

this ends up calling WCSBase.__new which has the timeout value as 60 correctly, however when obj.__init is called (https://github.com/geopython/OWSLib/blob/master/owslib/coverage/wcsBase.py#L49) it doesn't pass the timeout value. In the debugger I see wcs100.py's __init__ have the default timeout of 30 seconds: https://github.com/geopython/OWSLib/blob/master/owslib/coverage/wcs100.py#L40

Is this intended behavior?

tomkralidis commented 7 months ago

Fixed by #914