Open msimon00 opened 11 years ago
Hmm. Interesting problem.
It would be possible to expose the underlying Event object to each writer. That way you can see if the Event contains the half-duration. Another option would be to append it to the event dictionary if it is available. The writer that needs it is then responsible for raising an error if it does not exists. That mechanism could also be extended to other, optional event attributes. I guess that is the way to go.
i would need to add the information for the half-duration from the global cmt solution to the event information. how do i make sure i will get it in this input_generator framework?