data_set.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:auDeep 作者: auDeep 项目源码 文件源码
def save(self, path: Path):
        """
        Writes this data set to the specified path.

        Any directories in the path that do not exist are automatically created.

        Parameters
        ----------
        path: pathlib.Path
        """
        if not path.parent.exists():
            path.parent.mkdir(parents=True)

        self.log.info("writing data set as netCDF4 to %s", path)

        self._data.to_netcdf(path=str(path),
                             engine="netcdf4",
                             format="NETCDF4")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号