insert_enzo_fields /

Filename Size Date modified Message
717 B
6.6 KB
This is a script that can be used to insert fields into an existing Enzo dataset.

For an example of how to run, see the end of the file.

Alternatively, you can do, assuming is in your Python path:

from import *
fields_to_add = []
bdict = add_field('DD1701', fields_to_add)

This must be run in the dataset directory where the parameter file 'DD1701' and
all of its data resides.  I strongly suggest you backup your dataset before 
using this.  It has not yet been tested with a variety of precision settings.