obspy.core.util.decorator.skip_if_no_data

skip_if_no_data(func, *args, **kwargs)[source]

Does nothing if the first argument (self in case of methods) is a Trace with no data in it.