Skip to content
Snippets Groups Projects
Commit fee34714 authored by Erin (Josh) Rigler's avatar Erin (Josh) Rigler
Browse files

Copy F (geomag) to F (legacy) fixed:

The EdgeFactory (earthworm client) does not have, and will probably never have, the ability to read floating point miniseed blocks. When we reverted the processing recently to stop making an integer copy of the 1-second data from ObsRio (which seriously confused Edge for reasons we still dont understand), this broke geomag-filter. The solution was to copy F data separately, using MiniSeedFactory as the input factory.
parent 237a45f1
No related branches found
No related tags found
1 merge request!397Copy F (geomag) to F (legacy) fixed:
...@@ -207,7 +207,6 @@ def realtime_command( ...@@ -207,7 +207,6 @@ def realtime_command(
("U", "H"), ("U", "H"),
("V", "E"), ("V", "E"),
("W", "Z"), ("W", "Z"),
("F", "F"),
), ),
interval="second", interval="second",
input_factory=EdgeFactory( input_factory=EdgeFactory(
...@@ -223,7 +222,24 @@ def realtime_command( ...@@ -223,7 +222,24 @@ def realtime_command(
realtime_interval=realtime_interval, realtime_interval=realtime_interval,
update_limit=update_limit, update_limit=update_limit,
) )
# remove the following after data migration is complete
_copy_channels(
observatory=observatory,
channels=(("F", "F"),),
interval="second",
input_factory=MiniSeedFactory(
host=input_host, port=input_port, type="variation", sncl_mode="geomag"
),
output_factory=EdgeFactory(
host=output_host,
port=output_read_port,
write_port=7981, # hard-code port for legacy sncls
type="variation",
sncl_mode="legacy",
),
realtime_interval=realtime_interval,
update_limit=update_limit,
)
minute_filter( minute_filter(
observatory=observatory, observatory=observatory,
channels=("U", "V", "W"), channels=("U", "V", "W"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment