Skip to content

embargo roll out check: check restriction taking into account object hierarchy#1

Open
megies wants to merge 1 commit intoEIDA:mainfrom
megies:restricted_check_hierarchical
Open

embargo roll out check: check restriction taking into account object hierarchy#1
megies wants to merge 1 commit intoEIDA:mainfrom
megies:restricted_check_hierarchical

Conversation

@megies
Copy link

@megies megies commented Mar 20, 2026

Changes the check for restricted status on given channel to take into account what is set on the parent objects (station, network), if the restricted status is not set on the channel.

To my knowledge, FDSN StationXML is not really very clear on some details here. It does not specify what the default is when restricted status is not explicitly set.
Also, it is not clear how restricted status should be interpreted when it is set on multiple levels.

This change assumes that..

  • status set on children (e.g. channel) overrules what is set on parents (e.g. network)
  • if no status is defined on any level, default is assumed 'open'

…hierarchy

assuming that inner nodes that do not have restriction status set
inherit from parents
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

Successfully merging this pull request may close these issues.

1 participant