| 1973 | # path=None writes to bytes |
| 1974 | @overload |
| 1975 | def to_netcdf( |
| 1976 | self, |
| 1977 | path: None = None, |
| 1978 | mode: NetcdfWriteModes = "w", |
| 1979 | format: T_NetcdfTypes | None = None, |
| 1980 | group: str | None = None, |
| 1981 | engine: T_NetcdfEngine | None = None, |
| 1982 | encoding: Mapping[Any, Mapping[str, Any]] | None = None, |
| 1983 | unlimited_dims: Iterable[Hashable] | None = None, |
| 1984 | compute: bool = True, |
| 1985 | invalid_netcdf: bool = False, |
| 1986 | auto_complex: bool | None = None, |
| 1987 | ) -> memoryview: ... |
| 1988 | |
| 1989 | # compute=False returns dask.Delayed |
| 1990 | @overload |