Skip to content

Commit

Permalink
[BUG] fixed old pandas command in read_radiosounding
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfidan committed Aug 26, 2023
1 parent 86c602a commit a3ef19b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/pyart
2 changes: 1 addition & 1 deletion src/pyrad_proc/pyrad/io/read_data_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -2115,7 +2115,7 @@ def read_radiosounding(station, datetime_obj):

data_io = StringIO(data_str)
data_df = pd.read_csv(data_io, sep='\s+', header=0, skiprows = [1,2],
error_bad_lines=False,
on_bad_lines='warn',
)
for col in data_df.columns:
data_df[col] = pd.to_numeric(data_df[col])
Expand Down
2 changes: 1 addition & 1 deletion src/pyrad_proc/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
PLATFORMS = ["Linux"]
MAJOR = 1
MINOR = 8
MICRO = 5
MICRO = 6
ISRELEASED = True
VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO)
SCRIPTS = glob.glob('scripts/*')
Expand Down

0 comments on commit a3ef19b

Please sign in to comment.