diff --git a/stormevents/stormevent.py b/stormevents/stormevent.py index 67ed98a..23fd220 100644 --- a/stormevents/stormevent.py +++ b/stormevents/stormevent.py @@ -238,7 +238,7 @@ def start_date(self, start_date: datetime): @lru_cache(maxsize=None) def __data_start(self) -> datetime: data_start = self.__entry["start_date"] - if pandas.isna(data_start): + if pandas.isna(data_start) and not self.synthetic: data_start = VortexTrack.from_storm_name(self.name, self.year).start_date return data_start @@ -263,7 +263,7 @@ def end_date(self, end_date: datetime): @lru_cache(maxsize=None) def __data_end(self) -> datetime: data_end = self.__entry["end_date"] - if pandas.isna(data_end): + if pandas.isna(data_end) and not self.synthetic: data_end = VortexTrack.from_storm_name(self.name, self.year).end_date return data_end