用于运行简单气候模型的轻量级包装器
项目描述
OpenSCM-Runner
OpenSCM-Runner提供了一个统一的API,用于使用不同的简单气候模型运行排放情景。
完整文档可在以下地址找到: 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的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | aa1887d9356c11ed4b6ae8f502440b40d17b82220a79949e170daa39d4fe8f7e |
|
MD5 | b9ac9bdf98c26d32d9fa9fc05ff4ef9b |
|
BLAKE2b-256 | 91ec7db824e63c813a45b43c30235c5d7bc14030085f59fa86b50ae3d1a2525a |