Skip to main content

Module session

Module session 

Source
Expand description

Session state persistence.

Stores and restores session context (variable, slice indices, scaling, masking, zoom bounds, color maps, grid mode, etc.) for a specific dataset or list of datasets.

Structs§

SessionState

Enums§

SavedColorScaleScope
SavedGridMode
SavedScaleMode

Functions§

load_session
Load saved session state for the given dataset(s) if present.
save_session
Save session state for the given dataset(s).
session_dir
Directory where session state files are stored.
session_key_for_datasets
Compute a key uniquely identifying a dataset or dataset list.