okooo5km / comtrade

用于解析配电网行业中comtrade录波文件的工具和库
25 stars 12 forks source link
comtrade dat

comtrade

包含comtrade解析模块和comtrade解析工具。

依赖

基于python3开发

依赖模块:

安装依赖:

pip3 install matplotlib numpy

文件说明

命令行工具功能

可以转换(并显示)comtrade波形文件,支持转换指定目录下的多个波形文件。帮助信息:

➜  wave-guangxi comtrade help

comtrade can convert comtrade files to pic file or csv data file. The tool can also show the wave figure. Addionally, It can convert multiple files in the dir. And it can diff two or more files to show data property!

Usage:
  comtrade subcommand [options [args]] [file/dir]

subcommand:
  convert: convert the comtrade data to pic file or csv file;
  diff: diff two or more wave data with speciied mode;
  help: print comtrade help info or print specified sub-command help info;
  show: show a wave figure for specify comtrade cfg file or dat file;

  get help info of sub command:
    comtrade help [subcommand]

comtrade文件解析

需要实现