Hi, everyone.
I´m new using obspy, so I would like to know if someone can help me with this issue.
Actually I´m trying to convert some events I got using FDSN service to NORDIC format. However, when I write the catalog into NORDIC format, I got the error:
´´´
AttributeError: ‘NoneType’ object has no attribute ‘max_horizontal_uncertainty’
But I´m able to save the catalog into QuakeML format. Can someone help me?
Although I can see some issues in the code (if hasattr(origin_unc, "..."): which gets hit on None values when it shouldn’t), writing of the uncertainty line eventually runs into try/except: pass and output continue with next line. Room for improvement there but you should be OK after updating.