From 2aba84b587d1f31908c99e4b6fe909e3118968ac Mon Sep 17 00:00:00 2001 From: Nate Kean <14845347+garlic-os@users.noreply.github.com> Date: Sat, 8 Jun 2024 18:18:35 -0500 Subject: [PATCH] Use sep instead of delim_whitespace delim_whitespace is to be deprecated in pandas.read_csv. Fortunately they provide a drop-in replacement for its functionality: providing a RegEx for wihtespace as the sep argument. This change does that in the one place in the code where delim_whitespace is used. --- tools/RAiDER/gnss/downloadGNSSDelays.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/RAiDER/gnss/downloadGNSSDelays.py b/tools/RAiDER/gnss/downloadGNSSDelays.py index 5b3f7a29a..a250b9396 100755 --- a/tools/RAiDER/gnss/downloadGNSSDelays.py +++ b/tools/RAiDER/gnss/downloadGNSSDelays.py @@ -74,7 +74,7 @@ def get_stats_by_llh(llhBox=None, baseURL=_UNR_URL): stations = pd.read_csv( stationHoldings, - delim_whitespace=True, + sep='\s+', names=['ID', 'Lat', 'Lon', 'Hgt_m'] ) stations = filterToBBox(stations, llhBox)