Skip to content

Commit

Permalink
fix: Explicitly drop NaNs.
Browse files Browse the repository at this point in the history
The tests were broken.
  • Loading branch information
pmav99 committed May 14, 2024
1 parent c2aad70 commit 9211684
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions searvey/stations.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ def _get_ioc_stations(
# Normalize IOC
# Drop delay `NA'` : https://github.com/oceanmodeling/searvey/issues/91
ioc_gdf = ioc_gdf[ioc_gdf.delay != "NA'"]
ioc_gdf = ioc_gdf[~ioc_gdf.delay.isna()]

# Convert delay to minutes
ioc_gdf = ioc_gdf.assign(
delay=pd.concat(
Expand Down

0 comments on commit 9211684

Please sign in to comment.