State.get_dataset#
- State.get_dataset(table_name: str, column_names: list[str] | None = None, as_copy: bool = False) Dataset #
Get a workflow table or dataset as a xarray.Dataset.
- Parameters:
- table_namestr
Name of table or dataset to get.
- column_nameslist[str], optional
Include only these columns or variables in the dataset.
- as_copybool, default False
Return a copy of the dataset instead of the original.
- Returns:
- xarray.Dataset