包含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]