Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replacement for Channel type functionality? #155

Open
ghost opened this issue Sep 21, 2022 · 1 comment
Open

Replacement for Channel type functionality? #155

ghost opened this issue Sep 21, 2022 · 1 comment

Comments

@ghost
Copy link

ghost commented Sep 21, 2022

I see that there is a note regarding Channel types being removed in the future.

https://github.com/FDSN/StationXML/blob/7ccd7ddaf3082f242a09591a8d6f5ffa88b6213b/docs/level-channel.rst#type

Where should information such as whether a channel is Triggered or Continuous be stored, if this field is removed?

I personally don't care much about losing Geophysical/Health, etc. That information is mostly redundant with the channel naming codes. But having a flag that indicates whether a channel is continuous or triggered is valuable metadata.

@crotwell
Copy link
Collaborator

The original issue is #44 fyi.

You can of course continue to use this field in stationXMl 1.2. My guess is that 1.2 will be "the" version for the foreseeable future (many years), so I would not worry about an imminent deprecation. I would expect that if Type is removed, and a new place to store it is created, then there will be an XSLT transform to convert 1.2 xml to a new 2.0 version xml that handles the switchover just like there was for 1.x to 1.2.

I suppose there are cases where knowing triggered vs continuous might be useful, but given that no information is provided about what the trigger parameters are, and of course even continuous data can have lots of gaps, so I am not sure that such how much the attribute really adds. But you are probably right that it is worth enough to warrant a place to put it should <Type> be removed eventually.

Perhaps adding an optional <Triggered/> element within Channel would address this? Triggered channels could be marked, and the absence of this tag would imply continuous or unknown? The other option I can see would be just to add it to the <Description>. That is less desirable if a processing system needs to know about it, as opposed to just a human reader, but is at least a way to retain the information.

Is there a need (or ability?) to provide any further information about the trigger? A textual description, or are parameters standardized enough to attempt a structure to record them? I would guess that triggered data streams are becoming less and less common, so would you think this is mostly only for historical metadata?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant