w-data-mseed
v1.0.10
Published
A tool for miniSEED(mseed) data.
Downloads
121
Maintainers
Readme
w-data-mseed
A tool for miniSEED(mseed) data.
Documentation
To view documentation or get support, visit docs.
Core
w-data-mseed
is basing onmseed2ascii
of IRIS.
Installation
Using npm(ES6 module):
Note:
w-data-mseed
is mainly dependent onlodash-es
andwsemi
, and should run inWindows
.
npm i w-data-mseed
Example:
Link: [dev source code]
import WDataMseed from './src/WDataMseed.mjs'
async function test() {
//fp
let fp = './g.mseed'
//WDataMseed
let r = await WDataMseed(fp)
console.log(r)
// [
// {
// name: 'SE.RST01.00.HNE.D.2020-09-17T013552.000000.csv',
// path: null,
// data: { heads: [Object], records: [Array] }
// },
// {
// name: 'SE.RST01.00.HNN.D.2020-09-17T013552.000000.csv',
// path: null,
// data: { heads: [Object], records: [Array] }
// },
// {
// name: 'SE.RST01.00.HNZ.D.2020-09-17T013552.000000.csv',
// path: null,
// data: { heads: [Object], records: [Array] }
// }
// ]
}
test()
.catch((err) => {
console.log('catch', err)
})