Skip to content

Commit a3ef19b

Browse files
committed
[BUG] fixed old pandas command in read_radiosounding
1 parent 86c602a commit a3ef19b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/pyrad_proc/pyrad/io/read_data_sensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2115,7 +2115,7 @@ def read_radiosounding(station, datetime_obj):
21152115

21162116
data_io = StringIO(data_str)
21172117
data_df = pd.read_csv(data_io, sep='\s+', header=0, skiprows = [1,2],
2118-
error_bad_lines=False,
2118+
on_bad_lines='warn',
21192119
)
21202120
for col in data_df.columns:
21212121
data_df[col] = pd.to_numeric(data_df[col])

src/pyrad_proc/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
PLATFORMS = ["Linux"]
5454
MAJOR = 1
5555
MINOR = 8
56-
MICRO = 5
56+
MICRO = 6
5757
ISRELEASED = True
5858
VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO)
5959
SCRIPTS = glob.glob('scripts/*')

0 commit comments

Comments
 (0)