Skip to content

Commit

Permalink
Correct save_mfdataset docstring (#8934)
Browse files Browse the repository at this point in the history
* correct docstring

* get type hint right
  • Loading branch information
TomNicholas authored Apr 14, 2024
1 parent af08528 commit b004af5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions xarray/backends/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1416,8 +1416,6 @@ def save_mfdataset(
these locations will be overwritten.
format : {"NETCDF4", "NETCDF4_CLASSIC", "NETCDF3_64BIT", \
"NETCDF3_CLASSIC"}, optional
**kwargs : additional arguments are passed along to ``to_netcdf``
File format for the resulting netCDF file:
* NETCDF4: Data is stored in an HDF5 file, using netCDF4 API
Expand Down Expand Up @@ -1449,10 +1447,11 @@ def save_mfdataset(
compute : bool
If true compute immediately, otherwise return a
``dask.delayed.Delayed`` object that can be computed later.
**kwargs : dict, optional
Additional arguments are passed along to ``to_netcdf``.
Examples
--------
Save a dataset into one netCDF per year of data:
>>> ds = xr.Dataset(
Expand Down

0 comments on commit b004af5

Please sign in to comment.