This is an simple Online Viewer for SOR Files ("Standard OTDR Record"- Telcordia SR-4731, issue 2 standard). This data Format ist used to store OTDR fiber data. This is an ES6 Implementation of the Version from sid5432.
You can use this repo as browser version or node version. Currently only SOR files from version 2 are supported.
check out live example.
git clone https://github.com/moosler/Sor-Viewer.git otdr
cd otdr
npm install
npm run dev
npm run build
npm rund preview
Some Config parameters can be set. In the browser version the variable "config" in "main-browser.js" can be adjusted. In the node version the variable "config" in "node.js" can be adjusted. The following values can be set:
- debug: false, // IF true Logging Infos are displayed to Console
- createJson: false, //only for Node Version. If true results ar wirtten in an File called "result.js"
- jsonPath: '.', //only for Node Version and if createJson is true. This is the path there the json file is saved
- jsonName: 'result.json', //if createJson is true this is the name of the json File
- devMode: false, //For Development: if true only the first 100 DataPoints are read
- browserMode: false //BrowserMode
For questions and support please mail me [email protected]
- SOR Version 1 not supported yet
MIT Copyright (c) 2019-present, Marco Moosler