You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any variables backed by ManifestArray objects will be be written as virtual references, any other variables will be loaded into memory before their binary chunk data is written into the store.
53
+
Any variables backed by ManifestArray objects will be be written as virtual
54
+
references. Any other variables will be loaded into memory before their binary
55
+
chunk data is written into the store.
52
56
53
-
If `append_dim` is provided, the virtual dataset will be appended to the existing IcechunkStore along the `append_dim` dimension.
57
+
If `append_dim` is provided, the virtual dataset will be appended to the
58
+
existing IcechunkStore along the `append_dim` dimension.
54
59
55
-
If `last_updated_at` is provided, it will be used as a checksum for any virtual chunks written to the store with this operation.
56
-
At read time, if any of the virtual chunks have been updated since this provided datetime, an error will be raised.
57
-
This protects against reading outdated virtual chunks that have been updated since the last read. When not provided, no check is performed.
58
-
This value is stored in Icechunk with seconds precision, so be sure to take that into account when providing this value.
60
+
If `last_updated_at` is provided, it will be used as a checksum for any virtual
61
+
chunks written to the store with this operation. At read time, if any of the
62
+
virtual chunks have been updated since this provided datetime, an error will be
63
+
raised. This protects against reading outdated virtual chunks that have been
64
+
updated since the last read. When not provided, no check is performed. This
65
+
value is stored in Icechunk with seconds precision, so be sure to take that into
66
+
account when providing this value.
59
67
60
68
Parameters
61
69
----------
62
70
store: IcechunkStore
71
+
Store to write dataset into.
72
+
group: str, optional
73
+
Path of the group to write the dataset into (default: the root group).
63
74
append_dim: str, optional
64
-
When provided, specifies the dimension along which to append the virtual dataset.
75
+
Dimension along which to append the virtual dataset.
65
76
last_updated_at: datetime, optional
66
-
When provided, uses provided datetime as a checksum for any virtual chunks written to the store with this operation.
67
-
When not provided (default), no check is performed.
77
+
Datetime to use as a checksum for any virtual chunks written to the store
78
+
with this operation. When not provided, no check is performed.
79
+
80
+
Raises
81
+
------
82
+
ValueError
83
+
If the store is read-only.
68
84
69
85
Examples
70
86
--------
71
-
To ensure an error is raised if the files containing referenced virtual chunks are modified at any time from now on, pass the current time to ``last_updated_at``.
87
+
To ensure an error is raised if the files containing referenced virtual chunks
88
+
are modified at any time from now on, pass the current time to
0 commit comments