Skip to content

Commit

Permalink
Use sep instead of delim_whitespace
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
garlic-os committed Jun 8, 2024
1 parent b407817 commit 2aba84b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/RAiDER/gnss/downloadGNSSDelays.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2aba84b

Please sign in to comment.