matplotlib / matplotlib/basemap

wmsimage() documentation out of date?

Offen
#238 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@molinav arbeitet bereits daran.

Seit 08.2.2022.

Vorherrschende Sprache
Python
Sterne
817
Forks
395
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.