Analysis for metadata-files such as urn_x-wmo_md_int.wmo.wis__FXPQ31RJTD.xml with the following error:
/usr/local/lib/python3.7/site-packages/pywcmp-0.4.dev0-py3.7.egg/pywcmp/kpi.py in kpi_004(self)
342 if begin_position is not None and end_position is not None:
343 score += 1
--> 344 dt_begin = parse_time_position(begin_position)
345 dt_end = parse_time_position(end_position)
346 if dt_begin is not None and dt_end is not None:
/usr/local/lib/python3.7/site-packages/pywcmp-0.4.dev0-py3.7.egg/pywcmp/util.py in parse_time_position(element)
191 if text_to_parse.endswith('Z'):
192 text_to_parse = text_to_parse[0:-1]
--> 193 dtg = parse(text_to_parse, fuzzy=True, ignoretz=True).replace(tzinfo=timezone.utc)
194 return dtg
195 return None
~/.local/lib/python3.7/site-packages/dateutil/parser/_parser.py in parse(timestr, parserinfo, **kwargs)
1366 return parser(parserinfo).parse(timestr, **kwargs)
1367 else:
-> 1368 return DEFAULTPARSER.parse(timestr, **kwargs)
1369
1370
~/.local/lib/python3.7/site-packages/dateutil/parser/_parser.py in parse(self, timestr, default, ignoretz, tzinfos, **kwargs)
644
645 if len(res) == 0:
--> 646 raise ParserError("String does not contain a date: %s", timestr)
647
648 try:
ParserError: String does not contain a date: begin
Analysis for metadata-files such as urn_x-wmo_md_int.wmo.wis__FXPQ31RJTD.xml with the following error: