def __init__(self, elem, service):
<EOL>self._elem=elem<EOL>self._service=service<EOL>self.id=elem.find(nsWCS2('<STR_LIT>')).text<EOL>self.title = testXMLValue(elem.find(ns('<STR_LIT:label>')))<EOL>self.abstract= testXMLValue(elem.find(ns('<STR_LIT:description>')))<EOL>self.keywords = [f.text for f in elem.findall(ns('<STR_LIT>')+'<STR_LIT:/>'+ns('<STR_LIT>'))]<EOL>self.boundingBox=None <EOL>self.boundingBoxWGS84 = None<EOL>b = elem.find(ns('<STR_LIT>'))<EOL>if b is not None:<EOL><INDENT>gmlpositions=b.findall('<STR_LIT>')<EOL>lc=gmlpositions[<NUM_LIT:0>].text<EOL>uc=gmlpositions[<NUM_LIT:1>].text<EOL>self.boundingBoxWGS84 = (<EOL>float(lc.split()[<NUM_LIT:0>]),float(lc.split()[<NUM_LIT:1>]),<EOL>float(uc.split()[<NUM_LIT:0>]), float(uc.split()[<NUM_LIT:1>]),<EOL>)<EOL><DEDENT>self.styles=None<EOL>self.crsOptions=None<EOL>self.defaulttimeposition=None<EOL>
Initialize. service is required so that describeCoverage requests may be made