code
stringlengths
3
6.57k
self.uom.append(i.get("uom")
md.findall(util.nspath_eval('gmd:language/gmd:LanguageCode', namespaces)
_testCodeListValue(i)
self.resourcelanguage.append(val)
md.find(util.nspath_eval('gmd:pointOfContact/gmd:CI_ResponsibleParty/gmd:organisationName', namespaces)
val.find(util.nspath_eval('gmd:role/gmd:CI_RoleCode', namespaces)
_testCodeListValue(val)
util.testXMLValue(val)
util.testXMLValue(val)
util.testXMLValue(val)
md.find(util.nspath_eval('gmd:edition/gco:CharacterString', namespaces)
util.testXMLValue(val)
md.find(util.nspath_eval('gmd:abstract/gco:CharacterString', namespaces)
util.testXMLValue(val)
md.find(util.nspath_eval('gmd:purpose/gco:CharacterString', namespaces)
util.testXMLValue(val)
_testCodeListValue(md.find(util.nspath_eval('gmd:status/gmd:MD_ProgressCode', namespaces)
md.findall(util.nspath_eval('gmd:pointOfContact/gmd:CI_ResponsibleParty', namespaces)
CI_ResponsibleParty(i)
self.contact.append(o)
md.findall(util.nspath_eval('gmd:descriptiveKeywords', namespaces)
_testCodeListValue(i.find(util.nspath_eval('gmd:MD_Keywords/gmd:type/gmd:MD_KeywordTypeCode', namespaces)
i.find(util.nspath_eval('gmd:MD_Keywords/gmd:thesaurusName/gmd:CI_Citation/gmd:title/gco:CharacterString', namespaces)
util.testXMLValue(val)
i.find(util.nspath_eval('gmd:MD_Keywords/gmd:thesaurusName/gmd:CI_Citation/gmd:date/gmd:CI_Date/gmd:date/gco:Date', namespaces)
util.testXMLValue(val)
i.find(util.nspath_eval('gmd:MD_Keywords/gmd:thesaurusName/gmd:CI_Citation/gmd:date/gmd:CI_Date/gmd:dateType/gmd:CI_DateTypeCode', namespaces)
util.testXMLValue(val)
i.findall(util.nspath_eval('gmd:MD_Keywords/gmd:keyword', namespaces)
k.find(util.nspath_eval('gco:CharacterString', namespaces)
util.testXMLValue(val)
append(val2)
self.keywords.append(mdkw)
md.findall(util.nspath_eval('gmd:topicCategory/gmd:MD_TopicCategoryCode', namespaces)
util.testXMLValue(i)
self.topiccategory.append(val)
md.find(util.nspath_eval('gmd:supplementalInformation/gco:CharacterString', namespaces)
util.testXMLValue(val)
md.findall(util.nspath_eval('gmd:extent', namespaces)
extents.extend(md.findall(util.nspath_eval('srv:extent', namespaces)
extent.findall(util.nspath_eval('gmd:EX_Extent/gmd:geographicElement', namespaces)
e.find(util.nspath_eval('gmd:EX_GeographicBoundingBox', namespaces)
e.find(util.nspath_eval('gmd:EX_BoundingPolygon', namespaces)
EX_Extent(val)
extent.find(util.nspath_eval('gmd:EX_Extent/gmd:temporalElement/gmd:EX_TemporalExtent/gmd:extent/gml:TimePeriod/gml:beginPosition', namespaces)
extent.find(util.nspath_eval('gmd:EX_Extent/gmd:temporalElement/gmd:EX_TemporalExtent/gmd:extent/gml32:TimePeriod/gml32:beginPosition', namespaces)
util.testXMLValue(val2)
extent.find(util.nspath_eval('gmd:EX_Extent/gmd:temporalElement/gmd:EX_TemporalExtent/gmd:extent/gml:TimePeriod/gml:endPosition', namespaces)
extent.find(util.nspath_eval('gmd:EX_Extent/gmd:temporalElement/gmd:EX_TemporalExtent/gmd:extent/gml32:TimePeriod/gml32:endPosition', namespaces)
util.testXMLValue(val3)
MD_Distributor(object)
__init__(self, md=None)
md.find(util.nspath_eval('gmd:MD_Distributor/gmd:distributorContact/gmd:CI_ResponsibleParty', namespaces)
CI_ResponsibleParty(val)
md.findall(util.nspath_eval('gmd:MD_Distributor/gmd:distributorTransferOptions/gmd:MD_DigitalTransferOptions/gmd:onLine/gmd:CI_OnlineResource', namespaces)
self.online.append(CI_OnlineResource(ol)
MD_Distribution(object)
__init__(self, md=None)
md.find(util.nspath_eval('gmd:distributionFormat/gmd:MD_Format/gmd:name/gco:CharacterString', namespaces)
util.testXMLValue(val)
md.find(util.nspath_eval('gmd:distributionFormat/gmd:MD_Format/gmd:version/gco:CharacterString', namespaces)
util.testXMLValue(val)
md.findall(util.nspath_eval('gmd:distributor', namespaces)
self.distributor.append(MD_Distributor(dist)
md.findall(util.nspath_eval('gmd:transferOptions/gmd:MD_DigitalTransferOptions/gmd:onLine/gmd:CI_OnlineResource', namespaces)
self.online.append(CI_OnlineResource(ol)
DQ_DataQuality(object)
__init__(self, md=None)
md.findall(util.nspath_eval('gmd:report/gmd:DQ_DomainConsistency/gmd:result/gmd:DQ_ConformanceResult/gmd:specification/gmd:CI_Citation/gmd:title/gco:CharacterString', namespaces)
util.testXMLValue(i)
self.conformancetitle.append(val)
md.findall(util.nspath_eval('gmd:report/gmd:DQ_DomainConsistency/gmd:result/gmd:DQ_ConformanceResult/gmd:specification/gmd:CI_Citation/gmd:date/gmd:CI_Date/gmd:date/gco:Date', namespaces)
util.testXMLValue(i)
self.conformancedate.append(val)
md.findall(util.nspath_eval('gmd:report/gmd:DQ_DomainConsistency/gmd:result/gmd:DQ_ConformanceResult/gmd:specification/gmd:CI_Citation/gmd:date/gmd:CI_Date/gmd:dateType/gmd:CI_DateTypeCode', namespaces)
_testCodeListValue(i)
self.conformancedatetype.append(val)
md.findall(util.nspath_eval('gmd:report/gmd:DQ_DomainConsistency/gmd:result/gmd:DQ_ConformanceResult/gmd:pass/gco:Boolean', namespaces)
util.testXMLValue(i)
self.conformancedegree.append(val)
md.find(util.nspath_eval('gmd:lineage/gmd:LI_Lineage/gmd:statement/gco:CharacterString', namespaces)
util.testXMLValue(val)
md.find(util.nspath_eval('gmd:report/gmd:DQ_DomainConsistency/gmd:result/gmd:DQ_ConformanceResult/gmd:specification/gmd:CI_Citation/gmd:title/gco:CharacterString', namespaces)
util.testXMLValue(val)
md.findall(util.nspath_eval('gmd:report/gmd:DQ_DomainConsistency/gmd:result/gmd:DQ_ConformanceResult/gmd:specification/gmd:CI_Citation/gmd:date/gmd:CI_Date', namespaces)
util.testXMLValue(i)
self.specificationdate.append(val)
SV_ServiceIdentification(object)
__init__(self, md=None)
md.find(util.nspath_eval('srv:serviceType/gco:LocalName', namespaces)
util.testXMLValue(val)
md.find(util.nspath_eval('srv:serviceTypeVersion/gco:CharacterString', namespaces)
util.testXMLValue(val)
md.find(util.nspath_eval('srv:accessProperties/gmd:MD_StandardOrderProcess/gmd:fees/gco:CharacterString', namespaces)
util.testXMLValue(val)
md.find(util.nspath_eval('srv:extent/gmd:EX_Extent', namespaces)
EX_Extent(val)
_testCodeListValue(md.find(util.nspath_eval('gmd:couplingType/gmd:SV_CouplingType', namespaces)
md.findall(util.nspath_eval('srv:containsOperations', namespaces)
i.find(util.nspath_eval('srv:SV_OperationMetadata/srv:operationName/gco:CharacterString', namespaces)