Shashish, I have also encountered problems using OWSLib with the motherlode server. The THREDDS server may not be returning a valid GetCapabilities response.
See: http://trac.gispython.org/lab/ticket/206 - Tyler On Fri, Dec 17, 2010 at 8:33 AM, Shashish Maharjan <[email protected]>wrote: > Hi > > > > I am new to OWSLib and testing WCS available via threeds servers. I have > following error. > > > > Traceback (most recent call last): > > File "<pyshell#7>", line 1, in <module> > > wcs=WebCoverageService(' > http://motherlode.ucar.edu:8080/thredds/wcs/galeon/testdata/sst.nc > ',version='1.0.0') > > File > "C:\Python25\lib\site-packages\owslib-0.3.1-py2.5.egg\owslib\wcs.py", line > 20, in WebCoverageService > > return > wcs100.WebCoverageService_1_0_0.__new__(wcs100.WebCoverageService_1_0_0, > url, xml) > > File > "C:\Python25\lib\site-packages\owslib-0.3.1-py2.5.egg\owslib\coverage\wcsBase.py", > line 34, in __new__ > > obj.__init__(url, xml) > > File > "C:\Python25\lib\site-packages\owslib-0.3.1-py2.5.egg\owslib\coverage\wcs100.py", > line 49, in __init__ > > self.identification=ServiceIdenfication(subelem) > > File > "C:\Python25\lib\site-packages\owslib-0.3.1-py2.5.egg\owslib\coverage\wcs100.py", > line 187, in __init__ > > self.service = elem.find(ns('name')).text > > AttributeError: 'NoneType' object has no attribute 'text' > > > > Please suggest me the solution for this. > > > > Regards > > Shashish > > _______________________________________________ > Community mailing list > [email protected] > http://lists.gispython.org/mailman/listinfo/community > >
_______________________________________________ Community mailing list [email protected] http://lists.gispython.org/mailman/listinfo/community
