iode.Scalars.is_global_workspace
- property Scalars.is_global_workspace: bool
Whether or not the present database represents the global IODE workspace.
- Returns:
- bool
Examples
>>> from iode import SAMPLE_DATA_DIR >>> from iode import comments >>> comments.load(f"{SAMPLE_DATA_DIR}/fun.cmt") Loading .../fun.cmt 317 objects loaded >>> comments.is_global_workspace True >>> cmt_copy = comments.copy() >>> cmt_copy.is_global_workspace False >>> cmt_subset = comments["A*"] >>> cmt_subset.is_global_workspace False