A streaming feature-based compression method for data from instrumented infrastructure