Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • S shakyground2
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 11
    • Issues 11
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Shakemap
  • shakyground2
  • Issues
  • #22
Closed
Open
Issue created May 26, 2021 by Nils Brinckmann@nilsDeveloper

Datetime parsing in shakemaps_from_quakeml

Currently there is a problem on processing some of the events from geofon with the shakemaps_from_quakeml workflow.

This effects for example the following event:

  • gfz2021kdvq
  • gfz2021keus

Traceback is the following:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/src/app/shakyground2/shakyground2/workflows.py", line 93, in shakemaps_from_quakeml
    results.earthquake = Earthquake.from_quakeml(event_id)
  File "/usr/src/app/shakyground2/shakyground2/earthquake.py", line 219, in from_quakeml
    d_t = datetime.datetime.fromisoformat(" ".join([event["date"], event_time]))
ValueError: Invalid isoformat string: '2021-05-25 09:41:17.20'
Edited May 26, 2021 by Nils Brinckmann
Assignee
Assign to
Time tracking