I am currently testing SourceSpec for several events in the BedrettoLab together with Fred and we encountered the Error shown below.
Is there anything we need to change or is an exemption needed in the main code?
---------------------------------------------------
Output written to file: sspec_out/2026aawgrlxfz/2026aawgrlxfz.ssp.out
Output written to file: sspec_out/2026aawgrlxfz/2026aawgrlxfz.ssp.yaml
Traceback (most recent call last):
File "/srv/sspec/shared_env/sharedSspec/bin/source_spec", line 6, in <module>
sys.exit(main())
^^^^^^
File "/srv/sspec/shared_env/sharedSspec/lib/python3.11/site-packages/sourcespec/source_spec.py", line 78, in main
write_output(config, sspec_output)
File "/srv/sspec/shared_env/sharedSspec/lib/python3.11/site-packages/sourcespec/ssp_output.py", line 440, in write_output
write_qml(config, sspec_output)
File "/srv/sspec/shared_env/sharedSspec/lib/python3.11/site-packages/sourcespec/ssp_qml_output.py", line 136, in write_qml
mt.scalar_moment = Mo_summary.value
^^^^^^^^^^^^^^^^
File "/srv/sspec/shared_env/sharedSspec/lib/python3.11/site-packages/obspy/core/event/base.py", line 384, in __setattr__
raise ValueError(msg)
ValueError: On MomentTensor object: Value 'nan' for 'scalar_moment' is not a finite floating point value.
ls -ltrh sspec_out/2026aawgrlxfz/2026aawgrlxfz.ssp.yaml
Hello,
I am currently testing SourceSpec for several events in the BedrettoLab together with Fred and we encountered the Error shown below.
Is there anything we need to change or is an exemption needed in the main code?
Thanks for your help!
Best
Martina