From 0e7c29dda931d9c86d48fa30a2e2f04d3c570e10 Mon Sep 17 00:00:00 2001 From: Mark Chadwick Date: Fri, 5 Apr 2024 13:38:23 +1300 Subject: [PATCH] fix: update dart response to include fake stage The fake stage is needed for seiscomp to convert the fdsn xml. --- meta/collection.go | 4 ++++ ...SAIC_BPR-Subsystem_BPR-Subsystem_Z_15s.xml | 24 ++++++++++++++++++- ...AIC_BPR-Subsystem_BPR-Subsystem_Z_900s.xml | 24 ++++++++++++++++++- 3 files changed, 50 insertions(+), 2 deletions(-) diff --git a/meta/collection.go b/meta/collection.go index 298715b7a..359ff2d3b 100644 --- a/meta/collection.go +++ b/meta/collection.go @@ -156,6 +156,10 @@ func (s *Set) Collections(site Site) []Collection { continue } + if component.SamplingRate != stream.SamplingRate && component.SamplingRate != 0.0 { + continue + } + for _, channel := range s.Channels() { if recorder.Make != channel.Make { continue diff --git a/resp/files/combined_SAIC_BPR-Subsystem_BPR-Subsystem_Z_15s.xml b/resp/files/combined_SAIC_BPR-Subsystem_BPR-Subsystem_Z_15s.xml index 638491372..c640d8e1b 100644 --- a/resp/files/combined_SAIC_BPR-Subsystem_BPR-Subsystem_Z_15s.xml +++ b/resp/files/combined_SAIC_BPR-Subsystem_BPR-Subsystem_Z_15s.xml @@ -16,7 +16,7 @@ m - count + V DIGITAL @@ -32,4 +32,26 @@ 1 + + + + V + + + count + + DIGITAL + + + 1 + 1 + 0 + 0 + 0 + + + 1 + 1 + + diff --git a/resp/files/combined_SAIC_BPR-Subsystem_BPR-Subsystem_Z_900s.xml b/resp/files/combined_SAIC_BPR-Subsystem_BPR-Subsystem_Z_900s.xml index 88d852faf..e1bce2433 100644 --- a/resp/files/combined_SAIC_BPR-Subsystem_BPR-Subsystem_Z_900s.xml +++ b/resp/files/combined_SAIC_BPR-Subsystem_BPR-Subsystem_Z_900s.xml @@ -16,7 +16,7 @@ m - count + V DIGITAL @@ -32,4 +32,26 @@ 1 + + + + V + + + count + + DIGITAL + + + 1 + 1 + 0 + 0 + 0 + + + 1 + 1 + +