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!
  • Loading branch information
JohnHalleyGotway committed Apr 20, 2021
1 parent 7b0a8d0 commit e2a4d76
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 e2a4d76

Please sign in to comment.