Skip to content

Commit 556326e

Browse files
committed
improved docstring of to_netcdf (issue pydata#7127)
1 parent 1146c5a commit 556326e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

xarray/core/dataset.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1919,7 +1919,9 @@ def to_netcdf(
19191919
Nested dictionary with variable names as keys and dictionaries of
19201920
variable specific encodings as values, e.g.,
19211921
``{"my_variable": {"dtype": "int16", "scale_factor": 0.1,
1922-
"zlib": True}, ...}``
1922+
"zlib": True}, ...}``.
1923+
If encoding is specified the original encoding of the variables of
1924+
the dataset is ingnored
19231925
19241926
The `h5netcdf` engine supports both the NetCDF4-style compression
19251927
encoding parameters ``{"zlib": True, "complevel": 9}`` and the h5py

0 commit comments

Comments
 (0)