writer¶
writer.py¶
Functions for writing model outputs.
-
writer.SpinUpdate(self, mtime)¶ Overwrite the variables in the spin file to whatever they are at time = mtime
- Parameters
mtime (float) – Time (model time) at which the
-
writer.write_nospin_hdf5(self, Mout_dict)¶ Write the results fromt the main model run to hdf file.
- Parameters
Mout_dict (dict) – contains all of the model outputs; each key is the name of the output
-
writer.write_spin_hdf5(self)¶ Write the model outputs to hdf file at the end of spin up.