diff --git a/geoips/plugins/modules/readers/ascat_uhr_netcdf.py b/geoips/plugins/modules/readers/ascat_uhr_netcdf.py index a2a256f61..49b653b14 100644 --- a/geoips/plugins/modules/readers/ascat_uhr_netcdf.py +++ b/geoips/plugins/modules/readers/ascat_uhr_netcdf.py @@ -181,9 +181,7 @@ def read_byu_data(wind_xarray, fname): wind_xarray["latitude"] = wind_xarray["latitude"] - 90 wind_xarray["longitude"] = xarray.where( - wind_xarray.ambiguity_select == 0, - numpy.nan, - wind_xarray.longitude, + wind_xarray.ambiguity_select == 0, numpy.nan, wind_xarray.longitude ) dsname = "WINDSPEED"