Skip to content

Commit b004af5

Browse files
authored
Correct save_mfdataset docstring (#8934)
* correct docstring * get type hint right
1 parent af08528 commit b004af5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

xarray/backends/api.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1416,8 +1416,6 @@ def save_mfdataset(
14161416
these locations will be overwritten.
14171417
format : {"NETCDF4", "NETCDF4_CLASSIC", "NETCDF3_64BIT", \
14181418
"NETCDF3_CLASSIC"}, optional
1419-
**kwargs : additional arguments are passed along to ``to_netcdf``
1420-
14211419
File format for the resulting netCDF file:
14221420
14231421
* NETCDF4: Data is stored in an HDF5 file, using netCDF4 API
@@ -1449,10 +1447,11 @@ def save_mfdataset(
14491447
compute : bool
14501448
If true compute immediately, otherwise return a
14511449
``dask.delayed.Delayed`` object that can be computed later.
1450+
**kwargs : dict, optional
1451+
Additional arguments are passed along to ``to_netcdf``.
14521452
14531453
Examples
14541454
--------
1455-
14561455
Save a dataset into one netCDF per year of data:
14571456
14581457
>>> ds = xr.Dataset(

0 commit comments

Comments
 (0)