python cmdline_cmdline-provenance-用于跟踪数据处理步骤的Python包-Damien Irving Documentation Installation...

作者:Damien Irving

作者邮箱:irving.damien@gmail.com

首页:https://github.com/DamienIrving/cmdline_provenance

文档:None

下载链接

Command line provenance

cmdline_provenance is a Python package for keeping track of your data processing steps.

It was inspired by the popular NCO and CDO command line tools, which automatically generate a record of what was executed at the command line, append that record to the history attribute from the input (netCDF) data file, and then set the new extended record as the history attribute of the output (netCDF) data file.

For example, after selecting the 2001-2005 time period from a rainfall data file and then deleting the long_name file attribute, the command log would look as follows:

Fri Dec 08 10:05:47 2017: ncatted -O -a long_name,pr,d,, rainfall_data_200101-200512.nc

Fri Dec 01 07:59:16 2017: cdo seldate,2001-01-01,2005-12-31 rainfall_data_185001-200512.nc rainfall_data_200101-200512.nc

Following this simple approach to data provenance, it is possible maintain a record of all data processing steps from intial download/creation of your data files to the end result (e.g. a .png image).

cmdline_provenance contains a series of functions for generating history records in the NCO/CDO format, and for combining the current record with previous records to maintain a complete command log.

Documentation

http://cmdline-provenance.readthedocs.io/en/latest/

Installation

pip install cmdline-provenance

Copy from pypi.org

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值