Comments (7)
I have added a one off script to clean up the non-conformant xml at the inventory stage before it goes into mt_metadata.
from mt_metadata.
@kkappler Is there a date where the conventions changed. For instance did FDSN update the channel codes some time and added the magnetic and electric channels to the current letter code? Could we use the data of the metadata to use different channel code dictionaries? If this is a one off, as Anna suggests maybe a simple workaround is fine.
from mt_metadata.
I really don't know. I know that when I used the NCEDC data circa 2010, all magnetometers were archived with "T" code. ... and vertical electric dipoles were Q1. I reached out to Doug Neuhauser at BSL to get some insight into this issue and no response.
from mt_metadata.
Jared has hacked around the "T" instead of "F" issue for magnetic channel code.
Karl's one off code is in iris_mt_scratch/sandbox/io_helpers/test_data.py
as def scan_network_for_nonconformity(inventory)
from mt_metadata.
I Propose to use the workaround methods and scripts to create a Parkfield/Hollister mth5 file that we commit to the repo for testing. That specific file can be maintained. The scripts that make it can serve as an example for how to make an mth5 from unconventional xml, but we probably don't want to support these odd duck files in general.
I'll plan to get Gary's synthetic data and the parkfield running through the pipeline and then close this issue.
from mt_metadata.
@kkappler sounds like a good plan, I would put the StationXML file in mt_metadata/data/station_xml and we can make a script in mt_metadata to convert the StationXML into an Experiment. And another script in MTH5 to make an MTH5 file or just have one script in MTH5.
from mt_metadata.
PR #142 updates reading of StationXML and most of these issues should be fixed. Closing on PR
from mt_metadata.
Related Issues (20)
- dataless mth5 from fdsn HOT 16
- python 3.7 install failing on fcs branch HOT 1
- Exceptions when reading tf in emtfxml format HOT 3
- Tests failing when nationalmap not responding to requests HOT 1
- Filters "applied" booleans should be reversed
- FDSN: Release Status HOT 1
- Failure to install lxml breaks build on gh actions HOT 5
- Update broke test_issue_139 in aurora HOT 3
- Channel Nomenclature should be global HOT 1
- Store processing config in TF
- Add BIRRP to processing config
- Fix a bug that prevents correct StationXMLs for stations with "EX" "EY" in their names HOT 2
- import of ChannelResponseFilter fails HOT 1
- In StationXML, the Country element gets written as a list for no good reason HOT 2
- Checking of controlled vocabulary logger message incomplete
- TF.has_impedance is slow
- Tests failing for numpy v>=2.0 HOT 1
- DC Offset Filters
- Filtered.applied can be mutlivalued
- Processing config should load from json
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mt_metadata.