上一个千年再分析(lmr)项目的脚本系统。

slmr的Python项目详细描述


PyPI

SLMR

这是上个千年再分析项目的脚本系统, 或者LMR

包依赖项

  • p2k:用于pages2k数据集分析的函数集合(pip install p2k
  • tqdm:python和cli的快速、可扩展的进度条(pip install tqdm
  • prysm-api:代理系统建模(prysm)的api(pip install prysm-api
  • dotmap:具有动态层次结构创建和有序迭代的点访问字典(pip install dotmap
  • xarray:python中n-d标记的数组和数据集(pip install xarray
  • netCDF4:netcdf4格式的python接口(conda install netCDF4
  • pyspharm:ncar spherepack库的面向对象python接口(conda install -c conda-forge pyspharm

功能

如何安装

简单地

pip install slmr

在你的PATH中会有一个可执行的命令slmr

用法示例

下面是slmr的一些用法示例。 有关详细信息,请检查

slmr -h

在泥浆

的情况下运行LMR

我们需要先准备LMR所需的所有数据和配置, 然后我们可以在集群上用Slurm运行lmr 只有一个命令行:

slmr job -c config.yml -n 4 -nn hungus -rp 02000 -em slmr@gmail.com -x test_ccsm4

# slmr job: use the mode of submitting a slurm job# -c config.yml: use "config.yml" as a configuration template# -n 4 -nn hungus: run LRM with 4 threads on the node "hungus"# -rp 0 2000: reconstruction period to be from 0 to 2000 C.E.# -em slmr@gmail.com: notification will be sent to "slmr@gmail.com"# -x test_ccsm4: the experiment is named as "test_ccsm4"

后处理:选取文件

slmr pp pick_files -f gmt.npz -d dir1 dir2 -s ./gmt_files

# slmr pp: use the mode of post-processing# pick_files: the post-processing task to be pick_files# -f gmt.npz: pick files named as "gmt.npz"# -d dir1 dir2: pick files from the specified directories dir1 and dir2; more dirs can be followed# -s ./gmt_files: save the found files to the directory "./gmt_files"

许可证

麻省理工学院许可证

版权所有(c)2018 Feng Zhu

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
jframe为什么JAVA paint()方法不起作用?   java Guice:将ContainerRequestContext注入拦截器   java如何优雅地关闭Spring JMS MessageListenerAdapter   java如何在Spring中设置快照隔离级别   Java中的安卓平台独立信任存储路径   java无法在eclipse中运行hello world程序   java Sinch空指针问题   使用Java将JSON流式传输到BigQuery   java从“大数据”中选择什么Swing控件?   java通过对象字段过滤/排序集合?   java将数据从活动传递到另一个活动中的片段   java访问打包在jar文件中的文档   Java获取事件的大小。getDragboard()。getFiles()。流()。映射(文件::长度)。toString());   java Android libgdx:启动程序图标按下后,启动屏幕不会立即显示   java如何在Google App Engine灵活环境中配置oracle jdk   java有没有办法减少这些行?   Java:客户端socket不读取第二行,在终止符行之后保持打开状态   java以编程方式获取api 29上的所有APK文件   java ActionBar按钮不显示