diff --git a/API/responseLocal.py b/API/responseLocal.py index c243913..3cbc83f 100644 --- a/API/responseLocal.py +++ b/API/responseLocal.py @@ -2558,9 +2558,9 @@ async def PW_Forecast( WindBearingHour[:, 2] = np.rad2deg( np.mod(np.arctan2(GFS_Merged[:, 8], GFS_Merged[:, 9]) + np.pi, 2 * np.pi) ) - InterPhour[:, 12] = np.mod(np.choose( - np.argmin(np.isnan(WindBearingHour), axis=1), WindBearingHour.T - ),360) + InterPhour[:, 12] = np.mod( + np.choose(np.argmin(np.isnan(WindBearingHour), axis=1), WindBearingHour.T), 360 + ) ### Cloud Cover CloudCoverHour = np.full((len(hour_array_grib), 3), np.nan) @@ -3286,11 +3286,11 @@ async def PW_Forecast( # Format description newlines alertDescript = alertDetails[1] # Step 1: Replace double newlines with a single newline - formatted_text = re.sub(r'(?