Closed KasiKarra closed 7 years ago
Code if name == 'main': if len(sys.argv) < 3: print 'Usage: FeatureDataReader.py dataDir numParts' sys.exit(1)
np.set_printoptions(suppress=True, precision=4)
reader = FeatureDataReader(sys.argv[1], int(sys.argv[2]))
(run, part, cycle, zone) = (0, 0, 6899, 10806)
data = reader.getMetricNames()
print data
data = reader.readZone(run, cycle, zone)
print data
data = reader.readAllZonesInCycle(run, cycle)
j = data.shape[0]
i=0
OddyFile1 = open("OddyFile1.csv","w")
while i < j:
OddyFile1.write(str(data[i][6]) + ",\n")
i = i+1
Here is the plot we made of the oddy spike for the first failed zone.
Looks good!
Confirmed Oddy Spike for Run 0, Cycle 6899, Zone 10806