Describe the bug
In ComputeStationMetricsModule, esi_utils_rupture.factory.get_rupture() is passed a Path object, which it cannot handle.
To Reproducegmrecords compute_station_metrics -e us7000hcmn (after download, assemble, process)
Results in:
ERROR 2022-10-25 06:40:11 | factory.get_rupture: Rupture file /mnt/c/Users/mhearne/data/gmprocess/projects/data/us7000hcmn/rupture.json is not in lat, lon, depth format.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environmnet (please complete the following information):
OS: [e.g. macOS]
Python Version [e.g. 3.6]
Libcomcat Version [e.g. 1.0]
Numpy Version [e.g. 1.17]
Additional context
Add any other context about the problem here.
Describe the bug In ComputeStationMetricsModule, esi_utils_rupture.factory.get_rupture() is passed a Path object, which it cannot handle.
To Reproduce
gmrecords compute_station_metrics -e us7000hcmn (after download, assemble, process)
Results in:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Environmnet (please complete the following information):
Additional context Add any other context about the problem here.