LLNL-Collaboration / BYU_Alkemi_2017

BYU Big Data Capstone Project (Class 2017)
0 stars 1 forks source link

First Oddy Spike BYU confirmed #1

Closed KasiKarra closed 7 years ago

KasiKarra commented 7 years ago

Confirmed Oddy Spike for Run 0, Cycle 6899, Zone 10806

KasiKarra commented 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
mjoehler94 commented 7 years ago

Here is the plot we made of the oddy spike for the first failed zone.

image

minglars commented 7 years ago

Looks good!