nfsi-canada / OrientPy

Seismic station orientation tools
https://nfsi-canada.github.io/OrientPy/
44 stars 16 forks source link

ZNE channels and BNG #8

Open ispingos opened 4 years ago

ispingos commented 4 years ago

Trying to use BNG with components already tagged as ZNE does not work because the BNG.calc function works exclusively with channels Z12.

Explicitly stating the system with the -c flag does not seem to work on this. This does not permit validation of (supposedly) oriented stations.

I'm attaching a batch script (and the related StDB file) that reproduces the issue (perm_station_issue.zip).

Will also post a proposed fix (albeit a bit rough) in a new PR.