Function to export a key value pair to a file

OutputPlotGenerator.export_key_value(key, value, output = "variables",
  dir = "tmp")

Arguments

key

the key to store the value under. That is, the data is stored as a key value pair. This is the key in that pair.

value

the value to store. That is, the data is stored as a key value pair. This is the value in that pair.

output

string (default = 'variables.dat') the filename to store the data in.

dir

string (default = 'tmp') the dir to write the file to.