This repository contains individual StationXML files for the SubSurface Observatory stations in Sydney and surrounding areas. Each station has its own XML file (e.g., DU.ALEX.xml, DU.USYD.xml, etc.).
Combined StationXML
For convenience, all individual station files are automatically merged into a single file called all.xml. This is done using ObsPy, ensuring the result is a valid StationXML file.
How it works:
- GitHub Action (.github/workflows/combine-xml.yml) runs on every push to main that modifies one or more .xml station files.
- The workflow:
- Installs Python and ObsPy
- Reads all station XML files (excluding all.xml)
- Merges them into a single Inventory
- Writes the result to all.xml
- Commits and pushes the updated all.xml back to the repository
Triggering the workflow
- Edit or add any *.xml file (other than all.xml) and push the change to main.
- The workflow will run automatically and update all.xml.
You can monitor the workflow runs under the Actions tab in GitHub.