Skip to main content

Python module for reading Comtrade files.

Project description

Description

pyComtrade is a python module that provides you a transparent way for reading and writing (not implemented yet) oscillographic files stored in IEEE Comtrade format.

Comtrade stands for COMmon format for Transient Data Exchange for power systems. It is a file format standardised by the IEEE that is used to store transient signals from Digital Fault Recorders, Oscillographs or Digital Protective Relays.

pyComtrade was created and maintained by Miguel Moreto at Federal University of Santa Catarina - Brazil

Feel free to use the module in your program. Don’t forget that pyComtrade is licensed under the GNU version 3 license. For more info about this read the COPYING.txt.

Release Notes

  • Version 0.3.0 - Added ASCII data file support. - Source code refactored. - Changed metadata handling from lists to dictionaries. - Python 3 support.

    Many thanks to the contributors @ldemattos and @bluesdog164 who made most of the changes for this release.

  • Version 0.2.0

    • Implemented a method to read digital channels.

    • Updated example.

    • Added one more test data with digital channel data.

  • Version 0.1.0

    • Reads only analog channels.

    • Reads only binary Comtrade files (1999 Standard).

To Do

  • Review the last version of Comtrade Standard C37.111-2013.

  • Write Comtrade files.

Install

Pip

Run pip install pyComtrade from the command line.

From source (windows and linux)

Extract the source .zip file.

Run:

python.exe setup.py install

Usage

See example1.py at the source file.

Thanks for using pyComtrade module.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pyComtrade-0.3.1-py3.8.egg (12.9 kB view details)

Uploaded Egg

File details

Details for the file pyComtrade-0.3.1-py3.8.egg.

File metadata

  • Download URL: pyComtrade-0.3.1-py3.8.egg
  • Upload date:
  • Size: 12.9 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for pyComtrade-0.3.1-py3.8.egg
Algorithm Hash digest
SHA256 d520ea3f7c8c4fdc8f5b398ab86ed1352a7be327a61d516e012001db3b59f581
MD5 d7d79095fa2417135a836ee74e8094c6
BLAKE2b-256 7f1bb057d7ce5791f9c20d0ca5af5bbd35c1777da6e807ab3aa58713c51eeed2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page