This script will extract all the stored information from the provided .sor file which is the output of the OTDR equipment to JSON format. It's far from efficient or clean. The graph generation has been added. Usage: #./gotdr -s filepath