Bug when exporting picking/location parameters #40

Closed
opened 2024-11-20 10:20:15 +01:00 by ludger · 0 comments
Collaborator

Bug when saving/exporting picking and location parameters using the button "Save event pick data, source origin and magnitude" with the following error message:

Traceback (most recent call last):
File "/home/ludger/gitea/pylot/pylot/core/io/data.py", line 406, in exportEvent
velest.export(picks_copy, fnout + fnext, eventinfo=self.get_evt_data())
File "/home/ludger/gitea/pylot/pylot/core/loc/velest.py", line 28, in export
writephases(picks, 'VELEST', fnout, parameter, eventinfo)
File "/home/ludger/gitea/pylot/pylot/core/io/phases.py", line 771, in writephases
if usedarrivals[key]['P']['weight'] < 4:
KeyError: 'weight'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/ludger/gitea/pylot/PyLoT.py", line 1603, in saveData
self.get_data().exportEvent(fbasename, outformat, fcheck=fcheck,
File "/home/ludger/gitea/pylot/pylot/core/io/data.py", line 408, in exportEvent
raise KeyError('''{0} export format
KeyError: "CNV export format\n not implemented: 'weight'"

Bug when saving/exporting picking and location parameters using the button "Save event pick data, source origin and magnitude" with the following error message: Traceback (most recent call last): File "/home/ludger/gitea/pylot/pylot/core/io/data.py", line 406, in exportEvent velest.export(picks_copy, fnout + fnext, eventinfo=self.get_evt_data()) File "/home/ludger/gitea/pylot/pylot/core/loc/velest.py", line 28, in export writephases(picks, 'VELEST', fnout, parameter, eventinfo) File "/home/ludger/gitea/pylot/pylot/core/io/phases.py", line 771, in writephases if usedarrivals[key]['P']['weight'] < 4: KeyError: 'weight' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/ludger/gitea/pylot/PyLoT.py", line 1603, in saveData self.get_data().exportEvent(fbasename, outformat, fcheck=fcheck, File "/home/ludger/gitea/pylot/pylot/core/io/data.py", line 408, in exportEvent raise KeyError('''{0} export format KeyError: "CNV export format\n not implemented: 'weight'"
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: marcel/pylot#40
No description provided.