Skip to content

Commit

Permalink
Per #1620, correct bug in read_ascii_mpr.py script. The MPR line type…
Browse files Browse the repository at this point in the history
… has 37 columns in it, not 36! (#1760)
  • Loading branch information
JohnHalleyGotway authored Apr 22, 2021
1 parent 7b0a8d0 commit 55aa8f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion met/scripts/python/read_ascii_mpr.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# Read MPR lines, skipping the header row and first column.
mpr_data = pd.read_csv(input_file, header=None,
delim_whitespace=True, keep_default_na=False,
skiprows=1, usecols=range(1,36),
skiprows=1, usecols=range(1,37),
dtype=str).values.tolist()
print("Data Length:\t" + repr(len(mpr_data)))
print("Data Type:\t" + repr(type(mpr_data)))
Expand Down

0 comments on commit 55aa8f7

Please sign in to comment.