Code works as wanted, plots ramp data at UTC time and pulse avg.