[OWSLib-users] Issues with WMS example code
Signell, Richard
rsignell at usgs.gov
Thu Dec 1 08:53:45 PST 2016
Trent,
I think it's just an issue with the nasa server.
There are some nice WMS examples by Unidata in this notebbook:
https://github.com/Unidata/unidata-python-workshop/blob/master/notebooks/wms_sample.ipynb
-Rich
On Thu, Dec 1, 2016 at 1:20 AM, Trent O <okesontj at gmail.com> wrote:
> Hi all,
>
> I am switching from using Matlab's Mapping toolbox to python and need to
> access elevation data from WMS servers. I installed OWSLib, but was unable
> to get the example code to successfully run. The example code for other
> services (eg. WFS) worked successfully. I believe that the problem could be
> caused by an update to the WMS version (now 1.3.0) .
>
> Below is the error that I get when I run the example code.
>
> requests.exceptions.ConnectionError:
> HTTPConnectionPool(host='wms.jpl.nasa.gov', port=80): Max retries exceeded
> with url: /wms.cgi?service=WMS&request=GetCapabilities&version=1.1.1 (Caused
> by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection
> object at 0x000001F5F0B5B7B8>: Failed to establish a new connection:
> [WinError 10060] A connection attempt failed because the connected party did
> not properly respond after a period of time, or established connection
> failed because connected host has failed to respond',))
>
> Thank you for your help.
>
> TJ
>
> _______________________________________________
> OWSLib-users mailing list
> OWSLib-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/owslib-users
--
Dr. Richard P. Signell (508) 457-2229
USGS, 384 Woods Hole Rd.
Woods Hole, MA 02543-1598
More information about the OWSLib-users
mailing list