matplotlib / matplotlib/basemap

wmsimage() documentation out of date?

Ouverte
#238 0 commentaires 0 réactions 1 personne assignée Voir sur GitHub

@molinav y travaille déjà.

Depuis le 8/2/2022.

Langage dominant
Python
Étoiles
817
Forks
395
Métriques de merge des PR
Aucune PR mergée en 30 j

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?

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.