Script for User Input of RDE MetaData

Please enter as much information as you can!


In [40]:
data = dict()

In [41]:
data['workElec'] = [input('Enter Working Electrode Material: ')]


Enter Working Electrode Details: Platinum

In [42]:
data['RefElec'] = input('Enter Reference Electrode Material: ')


Enter Reference Electrode Details: Calomel

In [44]:
data['CountElec'] = input('Enter Counter Electrode Material: ')


Enter Counter Electrode Details: Graphite

In [45]:
data['WorkElecArea'] = input('Enter Working Electrode Area: ')


Enter Working Electrode Area: 2

In [46]:
data['WorkElecArea_units'] = input('Enter Working Electrode Area Units: ')


Enter Working Electrode Area Units: cm2

In [47]:
data['SolventElyte'] = input('Enter Electrolyte Solvent: ')


Enter Electrolyte Solvent: Water

In [48]:
data['SoluteElyte'] = input('Enter Electrolyte Solute: ')


Enter Electrolyte Solute: Abscorbic Acid

In [49]:
data['RedoxElyte'] = input('Enter Electrolyte Redox Species: ')


Enter Electrolyte Redox Species: Abscorbic Acid

In [50]:
data['MolarityElyte'] = input('Enter Electrolyte Concentration')


Enter Electrolyte Concentration1E-3

In [51]:
data['MolarityElyte_units'] = input('Enter Electrolyte Concentration units: ')


Enter Electrolyte Concentration units: mol/cm3

In [52]:
data['Temperature'] = input('Enter System Temperature: ')


Enter System Temperature: 300

In [53]:
data['Temperature_units'] = input('Enter System Temperature Units: ')


Enter System Temperature Units: K

In [54]:
data['Model'] = input('Enter instrument information: ')


Enter instrument information: Gamry

In [55]:
data['omega'] = input('Enter rotation speed: ')


Enter rotation speed: 300

In [56]:
data['omega_units'] = input('Enter rotation speed units: ')


Enter rotation speed units: RPM

In [60]:
data['Journal'] = input('Enter journal information: ')


Enter journal information: ECS Hack Day

In [61]:
data['Year'] = input('Enter journal year: ')


Enter journal year: 2017

In [62]:
import csv
with open('Metadata.csv', 'w') as csv_file:
    writer = csv.writer(csv_file)
    for key, value in data.items():
       writer.writerow([key, value])

In [ ]: