MCPcopy Index your code
hub / github.com/pydata/xarray / create_test_dataset_attrs

Function create_test_dataset_attrs

xarray/tests/test_options.py:112–115  ·  view source on GitHub ↗
(seed=0)

Source from the content-addressed store, hash-verified

110
111
112def create_test_dataset_attrs(seed=0):
113 ds = create_test_data(seed)
114 ds.attrs = {"attr1": 5, "attr2": "history", "attr3": {"nested": "more_info"}}
115 return ds
116
117
118def create_test_dataarray_attrs(seed=0, var="var1"):

Calls 1

create_test_dataFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…