Skip to content

Commit

Permalink
Add storm name for non best tracks
Browse files Browse the repository at this point in the history
  • Loading branch information
SorooshMani-NOAA committed Feb 14, 2024
1 parent 23055fc commit 9338983
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions singularity/info/files/hurricane_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def main(args):
else:
event = StormEvent(name_or_code, year)
nhc_code = event.nhc_code
storm_name = event.name
logger.info("Fetching a-deck track info...")

prescribed = None
Expand Down Expand Up @@ -245,6 +246,7 @@ def main(args):
df_dt.to_csv(date_out)
# Remove duplicate entries for similar isotach and time
# (e.g. Dorian19 and Ian22 best tracks)
track.data.name = storm_name
track.to_file(track_out)
gs = gpd.GeoSeries(windswath)
gdf_windswath = gpd.GeoDataFrame(
Expand Down

0 comments on commit 9338983

Please sign in to comment.