Skip to content

Commit

Permalink
Update SDDP description
Browse files Browse the repository at this point in the history
  • Loading branch information
dparrini committed Mar 25, 2024
1 parent 6da5be9 commit 88053c4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.


Expand Down
6 changes: 3 additions & 3 deletions csv_sample.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion dataframes_sample.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions parquet_sample.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit 88053c4

Please sign in to comment.