PIC-IRIS / PH5

Library of PH5 clients, apis, and utilities
Other
15 stars 9 forks source link

[BUG] ph5tostationxml fails to produce a response-level stationxml when using NRLv2 responses #521

Open Stephen-Veitch opened 10 months ago

Stephen-Veitch commented 10 months ago

In a ph5 with smartsolos using responses downloaded on 2023-11-13 from NRLv2 the following issue occurred:

[2023-11-14 15:32:12,657] - ph5.clients.ph5tostationxml - INFO: CHECKING ../ph5_1/Sigma/master.ph5 [2023-11-14 15:32:13,023] - ph5.clients.ph5tostationxml - ERROR: ObsPy does not know how to map unit 'COUNTS' to displacement, velocity, or acceleration - overall sensitivity will not be recalculated. Closing remaining open files:../ph5_1/Sigma/master.ph5...done

The ph5 in question passes ph5_validate, and no errors were raised while loading the responses into the ph5. ph5tostationxml is able to produce a station-level xml without issues.