Skip to content

Commit

Permalink
More fixes for reading RMWP
Browse files Browse the repository at this point in the history
  • Loading branch information
SorooshMani-NOAA committed Apr 29, 2024
1 parent 9239a74 commit 5e53977
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions singularity/info/files/hurricane_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def main(args):
advisory = 'OFCL'

# If a file exists, use the local file
track_raw = pd.read_csv(local_track_file, header=None)
track_raw = pd.read_csv(local_track_file, header=None, dtype=str)
assert len(track_raw[4].unique()) == 1
track_raw[4] = advisory

Expand Down Expand Up @@ -244,7 +244,7 @@ def main(args):
gdf_track = pd.concat((
track.data[
(track.data.track_start_time < forecast_start)
& (track.data.forecast_hours == 0)
& (track.data.forecast_hours.astype(int) == 0)
],
gdf_track
))
Expand Down

0 comments on commit 5e53977

Please sign in to comment.