Skip to content

nrg-parser | Documentation

IEA task 43 parsers for NRG Systems, Inc. SymphoniePRO loggers.

Installation

Install with pip

pip install nrg-parser

Usage

This package takes the TXT exports of SymphoniePRO data files, and converts the metadata there into IEA Task 43 format.

NOTE: For converting binary SymphoniePRO/Symphonie Classic data files into TXT, see the nrgpy repository.

Example Notebook

IEA Task43 Metadata Parser

This notebook includes some examples for extracting IEA Task43 metadata from NRG Systems Symphonie-series data logger data files.

See README.md, docs, and the Task43 Github page for more information:

import nrg_parser

Instantiate the nrg_parser object

metadata = nrg_parser.SymphonieProTxtReader(
    txt_filepath="tests/files/004310_2022-03-17_00.00_000835_meas.txt"
)

Run the get_all_metadata method, or run through the metadata methods individually:

  • get_header
  • get_site_info
  • get_iea_logger_main_config
  • get_iea_sensor_config
metadata.get_all_metadata()

IEA metadata objects end in _dict

  • header_sections_dict
  • logger_main_config_dict
  • sensor_config_dict_list
metadata.header_sections_dict
metadata.logger_main_config_dict
metadata.sensor_config_dict_list