yt.utilities.parameter_file_storage module¶
- exception yt.utilities.parameter_file_storage.NoParameterShelf[source]¶
Bases:
Exception
- add_note()¶
Exception.add_note(note) – add a note to the exception
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- class yt.utilities.parameter_file_storage.ParameterFileStore(*p, **k)[source]¶
Bases:
object
This class is designed to be a semi-persistent storage for parameter files. By identifying each dataset with a unique hash, objects can be stored independently of datasets – when an object is loaded, the dataset is as well, based on the hash. For storage concerns, only a few hundred will be retained in cache.