-
Notifications
You must be signed in to change notification settings - Fork 1
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
demo code in javascript #20
Comments
Good to know that there is MS parser in Javascript ;) |
Updated for IRIS20170718 draft: I left the extras as json as have not had time to play with cbor or other options. CRC is not implemented, but mostly working otherwise. https://github.com/iris-edu/mseed3-evaluation/tree/master/Crotwell/IRIS20170718/javascript |
I guess it's a coincidence that you use the shortest extra headers (TQ
and QI) in your example ;)
http://geofon-open2.gfz-potsdam.de/mseed3-evaluation/chunks-protobuf/testmseed3.html
|
Coincidence or laziness... It would be nice to have some test data that had some of the more unusual blockettes and flags for testing and comparison. But I have not yet implemented most of that stuff even in the mseed2 case. |
Did some more testing with 0718 and javascript, now round trips |
Just FYI, I updated my old strawman java code to reflect the new 20170718 draft here: |
This is kind of cute I think:
http://www.seis.sc.edu/~crotwell/mseed3/IRIS20170622/testmseed3.html
Basic exercise of converting mseed2 to mseed3(iris0622) in javascript. Not all details there (all extras, crc), but more or less works. Already like it more than mseed2. I wanted it to be able to download the mseed3 as a file, but wasn't able to get it working. Maybe later.
code is here:
https://github.com/iris-edu/mseed3-evaluation/tree/master/Crotwell/IRIS20170622/javascript
Comments welcome, still rough edges I know. Will try to update as we modify the spec.
The text was updated successfully, but these errors were encountered: