Also compare current exchanges about "eventid" vs QuakeML publicID on
FDSN mailing list..
It's about exactly this topic..
Dear obspy user list,
this is to let everybody know that the problem has been fixed by NEIC/USGS and that now there are no problems in writing QUAKEML files using obspy.