matplotlib / matplotlib/basemap

wmsimage() documentation out of date?

Open
#238 0 comments 0 reactions 1 assignee View on GitHub

@molinav is already working on this.

Since Feb 8, 2022.

Dominant language
Python
Stars
817
Forks
395
PR merge metrics
No merged PRs in 30d

Description

Bug report coming to me from off-list:

I am currently trying the wmsimage() after
installing the OWSLib. I have tried a few url services, for example:

from owslib.wms import WebMapService

wms = WebMapService('http://wms.jpl.nasa.gov/wms.cgi', version='1.1.1')

wms = WebMapService('http://motherlode.ucar.edu:8080/thredds/wms/fmrc/NCEP/NAM/CO
NUS_12km/NCEP-NAM-CONUS_12km-noaaport_best.ncd?')

But both give me a connection timeout error like this:

ConnectTimeout: HTTPConnectionPool(host='motherlode.ucar.edu', port=8080):
Max retries exceeded with url:
/thredds/wms/fmrc/NCEP/NAM/CONUS_12km/NCEP-NAM-CONUS_12km-noaaport_best.ncd
?service=WMS&request=GetCapabilities&version=1.1.1 (Caused by
ConnectTimeoutError(<requests.packages.urllib3.connection.HTTPConnection
object at 0x111303c18>, 'Connection to motherlode.ucar.edu timed out.
(connect timeout=30)'))

I have also tried "serverurl = 'http://osm.woc.noaa.gov/mapcache?'” but I
get the following error:

<!DOCTYPE ServiceExceptionReport SYSTEM
"http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
<ServiceExceptionReport version="1.1.1">
<ServiceException>
<![CDATA[
received unsuitable wms request: no <grid> with suitable srs found for
layer osm
]]>
</ServiceException>
</ServiceExceptionReport>

I suspect the URLs for these services have changed since the documentation was last updated. Anybody happens to know what they should be now?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.