跳转到主要内容

用于运行简单气候模型的轻量级包装器

项目描述

OpenSCM-Runner

OpenSCM-Runner提供了一个统一的API,用于使用不同的简单气候模型运行排放情景。

CI Coverage Docs

PyPI: PyPI PyPI: Supported Python versions PyPI install

其他信息: 许可证 最后提交 贡献者

完整文档可在以下地址找到: openscm-runner.readthedocs.io。我们建议在那里阅读文档,因为GitHub的查看器无法正确渲染内部文档链接。

安装

OpenSCM-Runner可以使用conda或pip进行安装

pip install openscm-runner
conda install -c conda-forge openscm-runner

可以使用以下方式安装其他依赖项

# To add notebook dependencies
pip install openscm-runner[notebooks]

# To add dependencies for all models
pip install openscm-runner[models]

# To add dependencies for MAGICC
pip install openscm-runner[magicc]

# To add dependencies for FaIR
pip install openscm-runner[fair]

# CICERO-SCM's Fortran binary requires no additional dependencies to be
# installed

# To add dependencies for CICERO-SCM's Python port
pip install openscm-runner[ciceroscmpy]

# If you are installing with conda, we recommend
# installing the extras by hand because there is no stable
# solution yet (issue here: https://github.com/conda/conda/issues/7502)

对于开发者

对于开发,我们依赖poetry来管理所有依赖。要开始,请确保已安装poetry(安装说明,我们发现pipx和pip在Mac上安装效果更好)。

对于所有工作,我们使用我们的Makefile。如果您愿意,可以手动阅读说明并运行命令,但我们通常不建议这样做,因为这可能会导致错误。要创建您的环境,请运行make virtual-environment

如果有任何问题,Makefile中的消息应该会引导您解决问题。如果没有,请在问题跟踪器中提出问题。

有关我们的其他开发者文档,请参阅

项目详情


下载文件

下载您平台的文件。如果您不确定选择哪个,请了解有关安装软件包的更多信息。

源代码分发

openscm_runner-0.13.0.tar.gz (1.7 MB 查看哈希值)

上传时间

构建分发

openscm_runner-0.13.0-py3-none-any.whl (1.7 MB 查看哈希值)

上传时间 Python 3

由以下支持