Skip to content

Commit

Permalink
fixed error in reading* .cyc files
Browse files Browse the repository at this point in the history
  • Loading branch information
GundulaW committed Jul 21, 2023
1 parent a47b572 commit 7894ff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cht_cyclones/tropical_cyclone.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def read_track(self, filename, fmt):
# Read the track
for i in range(len(lines)):
line = lines[i]
if line[0:8] == "# Date":
if line[0:10] == "## Date": # TODO: this seems super sketchy!!!
break

# Place coordinates in Tropical Cyclone Track
Expand Down

0 comments on commit 7894ff1

Please sign in to comment.