After a discussion with Dr. Monelli, we have determined that the best way to handle this is
1) Check for empty bins data.
2) If they are empty, throw a runtime warning and return None from the disagg calculator. The warning should explain that no ruptures contributed to the hazard level at this site.
After a discussion with Dr. Monelli, we have determined that the best way to handle this is
1) Check for empty bins data.
2) If they are empty, throw a runtime warning and return None from the disagg calculator. The warning should explain that no ruptures contributed to the hazard level at this site.