2727from stormevents .nhc import VortexTrack
2828from stormevents .nhc .atcf import ATCF_Advisory
2929from stormevents .nhc .atcf import ATCF_FileDeck
30- from stormevents .nhc .const import RMWFillMethod
30+ from stormevents .nhc .const import RMWFillMethod , PcFillMethod
3131from stormevents .usgs import usgs_flood_storms
3232from stormevents .usgs import USGS_StormEvent
3333from stormevents .utilities import relative_to_time_interval
@@ -281,6 +281,7 @@ def track(
281281 filename : PathLike = None ,
282282 forecast_time : datetime = None ,
283283 rmw_fill : RMWFillMethod = RMWFillMethod .regression_penny_2023 ,
284+ pc_fill : PcFillMethod = PcFillMethod .persistent_holland_b ,
284285 ) -> VortexTrack :
285286 """
286287 retrieve NHC ATCF track data
@@ -303,7 +304,7 @@ def track(
303304 end_date = self .end_date
304305
305306 if filename is not None :
306- track = VortexTrack .from_file (filename )
307+ track = VortexTrack .from_file (filename , rmw_fill = rmw_fill , pc_fill = pc_fill )
307308 else :
308309 track = VortexTrack .from_storm_name (
309310 name = self .name ,
@@ -314,6 +315,7 @@ def track(
314315 advisories = advisories ,
315316 forecast_time = forecast_time ,
316317 rmw_fill = rmw_fill ,
318+ pc_fill = pc_fill ,
317319 )
318320 return track
319321
0 commit comments