model.HydrostaticEquilibrium.write_model_to_binary#
- HydrostaticEquilibrium.write_model_to_binary(output_filename, fields_to_write=None, in_cgs=False, r_min=None, r_max=None, overwrite=False)#
Write the model to unformatted Fortran binary.
Attention
But why would you want Fortran binary??
Warning
This procedure will lose all of the metadata from the
self.gravity
attribute and theself.attrs
dictionary. As such, this should only be used in cases where the user can specify those properties manually upon reopening the file.- Parameters:
- Return type: