From d2fd60e5dee5581d5cc1657166e5e3eb512a4f13 Mon Sep 17 00:00:00 2001 From: srikanth-kumar Date: Wed, 23 Oct 2024 23:03:46 -0400 Subject: [PATCH] undo invalid black formatting changes --- geoips/plugins/modules/readers/ascat_uhr_netcdf.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/geoips/plugins/modules/readers/ascat_uhr_netcdf.py b/geoips/plugins/modules/readers/ascat_uhr_netcdf.py index cda1b98a4..a2a256f61 100644 --- a/geoips/plugins/modules/readers/ascat_uhr_netcdf.py +++ b/geoips/plugins/modules/readers/ascat_uhr_netcdf.py @@ -111,9 +111,7 @@ def read_byu_data(wind_xarray, fname): dsname = "DATA" if "wspeeds" in wind_xarray.variables: wind_xarray["wind_speed_kts"] = xarray.where( - wind_xarray.ambiguity_select == 1, - wind_xarray.wspeeds[:, :, 0], - numpy.nan, + wind_xarray.ambiguity_select == 1, wind_xarray.wspeeds[:, :, 0], numpy.nan ) wind_xarray["wind_speed_kts"] = xarray.where( wind_xarray.ambiguity_select == 2, @@ -133,9 +131,7 @@ def read_byu_data(wind_xarray, fname): wind_xarray["wind_speed_kts"] = wind_xarray["wind_speed_kts"] * MS_TO_KTS wind_xarray["wind_dir_deg_met"] = xarray.where( - wind_xarray.ambiguity_select == 1, - wind_xarray.wdirs[:, :, 0], - numpy.nan, + wind_xarray.ambiguity_select == 1, wind_xarray.wdirs[:, :, 0], numpy.nan ) wind_xarray["wind_dir_deg_met"] = xarray.where( wind_xarray.ambiguity_select == 2,