hypoDDpy
hypoDDpy copied to clipboard
How to treat events without a magnitude
This is related to issue #16 Right now the relocator can't deal with events that don't have a magnitude (it raises an IndexError exception) According to the hypoDD2 manual, the magnitude should be set to 0.0 if not available. However, many catalogs already have earthquakes with magnitudes dangerously close to 0.0, or even negative magnitudes. Maybe the relocator should assign a magnitude value in case there is none. I would say something like -9.9, or 0.0 (which could mean no magnitude or a magnitude of 0.0, just to be consistent with the hypoDD2 manual). I would gladly have this issue assigned to me.