|
| 1 | +Configuration for the zappend tool. |
| 2 | + |
| 3 | +### `version` |
| 4 | + |
| 5 | +Configuration version. |
| 6 | +It's value is `1`. |
| 7 | + |
| 8 | +### `target_uri` |
| 9 | + |
| 10 | +Type _string_. |
| 11 | +The URI or local path of the target Zarr dataset. Must be a directory. |
| 12 | + |
| 13 | +### `target_storage_options` |
| 14 | + |
| 15 | +Type _object_. |
| 16 | +Options for the filesystem given by the URI of `target_uri`. |
| 17 | + |
| 18 | +### `slice_engine` |
| 19 | + |
| 20 | +Type _string_. |
| 21 | +The name of the engine to be used for opening contributing datasets. Refer to the `engine` argument of the function `xarray.open_dataset()`. |
| 22 | + |
| 23 | +### `slice_storage_options` |
| 24 | + |
| 25 | +Type _object_. |
| 26 | +Options for the filesystem given by the protocol of the URIs of contributing datasets. |
| 27 | + |
| 28 | +### `slice_polling` |
| 29 | + |
| 30 | +Defines how to poll for contributing datasets. |
| 31 | +Must be one of the following: |
| 32 | +* No polling, fail immediately if dataset is not available. |
| 33 | + It's value is `false`. |
| 34 | +* Poll using default values. |
| 35 | + It's value is `true`. |
| 36 | +* Type _object_. |
| 37 | + Polling parameters. |
| 38 | + * `interval`: |
| 39 | + Type _number_. |
| 40 | + Polling interval in seconds. |
| 41 | + Defaults to `2`. |
| 42 | + |
| 43 | + * `timeout`: |
| 44 | + Type _number_. |
| 45 | + Polling timeout in seconds. |
| 46 | + Defaults to `60`. |
| 47 | + |
| 48 | + |
| 49 | +### `temp_dir` |
| 50 | + |
| 51 | +Type _string_. |
| 52 | +The URI or local path of the directory that will be used to temporarily store rollback information. |
| 53 | + |
| 54 | +### `temp_storage_options` |
| 55 | + |
| 56 | +Type _object_. |
| 57 | +Options for the filesystem given by the protocol of `temp_dir`. |
| 58 | + |
| 59 | +### `zarr_version` |
| 60 | + |
| 61 | +The Zarr version to be used. |
| 62 | +It's value is `2`. |
| 63 | + |
| 64 | +### `fixed_dims` |
| 65 | + |
| 66 | +Type _object_. |
| 67 | +Specifies the fixed dimensions of the target dataset. Keys are dimension names, values are dimension sizes. |
| 68 | +Object values are: |
| 69 | + |
| 70 | +Type _integer_. |
| 71 | + |
| 72 | +### `append_dim` |
| 73 | + |
| 74 | +Type _string_. |
| 75 | +The name of the variadic append dimension. |
| 76 | +Defaults to `"time"`. |
| 77 | + |
| 78 | +### `variables` |
| 79 | + |
| 80 | +Type _object_. |
| 81 | +Defines dimensions, encoding, and attributes for variables in the target dataset. Object property names refer to variable names. The special name `*` refers to all variables, which is useful for defining common values. |
| 82 | +Object values are: |
| 83 | + |
| 84 | +Type _object_. |
| 85 | +Variable metadata |
| 86 | +* `dims`: |
| 87 | + Type _array_. |
| 88 | + The names of the variable's dimensions in the given order. Each dimension must exist in contributing datasets. |
| 89 | + |
| 90 | +* `encoding`: |
| 91 | + Type _object_. |
| 92 | + Variable storage encoding. Settings given here overwrite the encoding settings of the first contributing dataset. |
| 93 | + * `dtype`: |
| 94 | + Storage data type |
| 95 | + Must be one of `"int8", "uint8", "int16", "uint16", "int32", "uint32", "int64", "uint64", "float32", "float64"`. |
| 96 | + |
| 97 | + * `chunks`: |
| 98 | + Storage chunking. |
| 99 | + Must be one of the following: |
| 100 | + * Type _array_. |
| 101 | + Chunk sizes in the order of the dimensions. |
| 102 | + * Disable chunking. |
| 103 | + It's value is `null`. |
| 104 | + |
| 105 | + * `fill_value`: |
| 106 | + Storage fill value. |
| 107 | + Must be one of the following: |
| 108 | + * Type _number_. |
| 109 | + A number of type and unit of the given storage `dtype`. |
| 110 | + * Not-a-number. Can be used only if storage `dtype` is `float32` or `float64`. |
| 111 | + It's value is `"NaN"`. |
| 112 | + * No fill value. |
| 113 | + It's value is `null`. |
| 114 | + |
| 115 | + * `scale_factor`: |
| 116 | + Type _number_. |
| 117 | + Scale factor for computing the in-memory value: `memory_value = scale_factor * storage_value + add_offset`. |
| 118 | + |
| 119 | + * `add_offset`: |
| 120 | + Type _number_. |
| 121 | + Add offset for computing the in-memory value: `memory_value = scale_factor * storage_value + add_offset`. |
| 122 | + |
| 123 | + * `units`: |
| 124 | + Type _string_. |
| 125 | + Units of the storage data type if memory data type is date/time. |
| 126 | + |
| 127 | + * `calendar`: |
| 128 | + Type _string_. |
| 129 | + The calendar to be used if memory data type is date/time. |
| 130 | + |
| 131 | + * `compressor`: |
| 132 | + Type _array_ | _null_. |
| 133 | + Compressor. Set to `null` to disable data compression. |
| 134 | + * `id`: |
| 135 | + Type _string_. |
| 136 | + |
| 137 | + $`$id` are required. |
| 138 | + |
| 139 | + * `filters`: |
| 140 | + Type _array_ | _null_. |
| 141 | + Filters. Set to `null` to not use filters. |
| 142 | + |
| 143 | + |
| 144 | +* `attrs`: |
| 145 | + Type _object_. |
| 146 | + Arbitrary variable metadata attributes. |
| 147 | + |
| 148 | + |
| 149 | +### `included_variables` |
| 150 | + |
| 151 | +Type _array_. |
| 152 | +Specifies the names of variables to be included in the target dataset. Defaults to all variables found in the first contributing dataset. |
| 153 | + |
| 154 | +### `excluded_variables` |
| 155 | + |
| 156 | +Type _array_. |
| 157 | +Specifies the names of individual variables to be excluded from all contributing datasets. |
| 158 | + |
| 159 | +### `dry_run` |
| 160 | + |
| 161 | +Type _boolean_. |
| 162 | +If 'true', log only what would have been done, but don't apply any changes. |
| 163 | +Defaults to `false`. |
0 commit comments