hdf5_utils.py 文件源码

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

项目:satpy 作者: pytroll 项目源码 文件源码
def __getitem__(self, key):
        val = self.file_content[key]
        if isinstance(val, h5py.Dataset):
            # these datasets are closed and inaccessible when the file is closed, need to reopen
            return h5py.File(self.filename, 'r')[key].value
        return val
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号