diff --git a/README.md b/README.md index 4e647fd..2d5f6ff 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ PyGraf ====== -Utility module to read Sddp hdr/bin result file pairs. Some [examples](#usage-samples) to convert it to +Utility module to read SDDP hdr/bin result file pairs. Some [examples](#usage-samples) to convert it to popular formats are available. diff --git a/csv_sample.py b/csv_sample.py index 9fa7c82..e21ca47 100644 --- a/csv_sample.py +++ b/csv_sample.py @@ -1,4 +1,4 @@ -# Converts a Sddp result binary file to Comma Delimited Values (CSV) file. +# Converts a SDDP result binary file to Comma Delimited Values (CSV) file. from __future__ import print_function import psr.graf @@ -37,10 +37,10 @@ def graf_to_csv(graf_file_path, csv_path, **csv_kwargs): # Read file name from command line arguments # - or use sample data if not provided. parser = argparse.ArgumentParser( - description='Converts a Sddp result binary file to Comma ' + description='Converts a SDDP result binary file to Comma ' 'Delimited Values (CSV) file.') parser.add_argument('sddp_file', type=str, nargs='?', - help='Sddp result binary file', default=None) + help='SDDP result binary file', default=None) parser.add_argument('csv_file', type=str, nargs='?', help='Output CSV file', default=None) args = parser.parse_args() diff --git a/dataframes_sample.py b/dataframes_sample.py index 098b919..03d7d5f 100644 --- a/dataframes_sample.py +++ b/dataframes_sample.py @@ -1,4 +1,4 @@ -# Converts a Sddp result binary file into pandas.DataFrame. +# Converts a SDDP result binary file into pandas.DataFrame. from __future__ import print_function import psr.graf import pandas diff --git a/parquet_sample.py b/parquet_sample.py index fce1cc3..d27d9fe 100644 --- a/parquet_sample.py +++ b/parquet_sample.py @@ -1,4 +1,4 @@ -# Converts a Sddp result binary file to Apache Parquet file format. +# Converts a SDDP result binary file to Apache Parquet file format. from __future__ import print_function import psr.graf @@ -94,10 +94,10 @@ def parquet_to_csv(parquet_file_path, csv_file_path): # Read file name from command line arguments # - or use sample data if not provided. parser = argparse.ArgumentParser( - description='Converts a Sddp result binary file to Apache Parquet ' + description='Converts a SDDP result binary file to Apache Parquet ' 'file format.') parser.add_argument('sddp_file', type=str, nargs='?', - help='Sddp result binary file', default=None) + help='SDDP result binary file', default=None) parser.add_argument('parquet_file', type=str, nargs='?', help='Output Parquet file', default=None) args = parser.parse_args()