In [5]:
from owslib.wms import WebMapService
url = "https://ogcie.iblsoft.com/metocean/wms"
wms = WebMapService(url, version="1.1.1")

In [13]:
list(wms.contents)


Out[13]:
['surface-obs',
 'temp-obs',
 'radar-cerad',
 'satellites-msg-ir',
 'gfs-temperature-isbl',
 'gfs-temperature-agl',
 'gfs-wind-isbl',
 'gfs-wind-agl',
 'gfs-msl-pressure',
 'gfs-precipication-6h',
 'gefs-temperature-agl',
 'gefs-temperature-isbl',
 'gefs-temperature-probability-agl',
 'gefs-temperature-probability-isbl',
 'gefs-temperature-percentile-agl',
 'gefs-temperature-percentile-isbl',
 'gefs-precipication-6h',
 'gefs-precipitation-probability-6h',
 'gefs-precipitation-percentile-6h',
 'foreground-lines']

In [18]:
wms['gfs-temperature-isbl'].title


Out[18]:
'GFS Temperature (isobaric levels)'

In [19]:
layer = wms['gfs-temperature-isbl']

In [20]:
layer.timepositions


Out[20]:
['2016-07-28T12:00:00Z',
 '2016-07-28T15:00:00Z',
 '2016-07-28T18:00:00Z',
 '2016-07-28T21:00:00Z',
 '2016-07-29T00:00:00Z',
 '2016-07-29T03:00:00Z',
 '2016-07-29T06:00:00Z',
 '2016-07-29T09:00:00Z',
 '2016-07-29T12:00:00Z',
 '2016-07-29T15:00:00Z',
 '2016-07-29T18:00:00Z',
 '2016-07-29T21:00:00Z',
 '2016-07-30T00:00:00Z',
 '2016-07-30T03:00:00Z',
 '2016-07-30T06:00:00Z',
 '2016-07-30T09:00:00Z',
 '2016-07-30T12:00:00Z',
 '2016-07-30T15:00:00Z',
 '2016-07-30T18:00:00Z',
 '2016-07-30T21:00:00Z',
 '2016-07-31T00:00:00Z',
 '2016-07-31T03:00:00Z',
 '2016-07-31T06:00:00Z',
 '2016-07-31T12:00:00Z',
 '2016-07-31T18:00:00Z',
 '2016-08-01T00:00:00Z',
 '2016-08-01T06:00:00Z',
 '2016-08-01T12:00:00Z',
 '2016-08-01T18:00:00Z',
 '2016-08-02T00:00:00Z',
 '2016-08-02T06:00:00Z',
 '2016-08-02T12:00:00Z',
 '2016-08-02T18:00:00Z',
 '2016-08-03T00:00:00Z',
 '2016-08-03T06:00:00Z',
 '2016-08-03T12:00:00Z',
 '2016-08-03T18:00:00Z',
 '2016-08-04T00:00:00Z',
 '2016-08-04T06:00:00Z',
 '2016-08-04T12:00:00Z',
 '2016-08-04T18:00:00Z',
 '2016-08-05T00:00:00Z',
 '2016-08-05T06:00:00Z',
 '2016-08-05T12:00:00Z',
 '2016-08-05T18:00:00Z',
 '2016-08-06T00:00:00Z',
 '2016-08-06T06:00:00Z']

In [ ]: