We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a13e30 commit 453d259Copy full SHA for 453d259
xbitinfo/save_compressed.py
@@ -114,8 +114,10 @@ def __call__(
114
for_cdo=False,
115
time_dim="time",
116
chunks=None,
117
+ engine="netcdf4",
118
**kwargs,
119
):
120
+ assert engine == "netcdf4", "Only 'netcdf4' engine is currently supported."
121
self._obj.to_netcdf(
122
path,
123
encoding=get_compress_encoding_nc(
@@ -127,6 +129,7 @@ def __call__(
127
129
time_dim=time_dim,
128
130
chunks=chunks,
131
),
132
+ engine=engine,
133
134
)
135
0 commit comments