usgs / groundmotion-processing

Parsing and processing ground motion data
Other
54 stars 41 forks source link

In ComputeStationMetricsModule, esi_utils_rupture.factory.get_rupture() is passed a Path object, which it cannot handle. #1048

Closed mhearne-usgs closed 1 year ago

mhearne-usgs commented 1 year ago

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:

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):

Additional context Add any other context about the problem here.