diff --git a/src/xsarsea/gradients.py b/src/xsarsea/gradients.py index ddd857b..34bce4a 100644 --- a/src/xsarsea/gradients.py +++ b/src/xsarsea/gradients.py @@ -12,11 +12,11 @@ __all__ = ['Gradients', 'Gradients2D', 'circ_smooth', 'PlotGradients', 'circ_hist'] +import cv2 import numpy as np from scipy import signal, ndimage import xarray as xr import warnings -import cv2 from functools import reduce, partial from operator import mul from itertools import product diff --git a/src/xsarsea/windspeed/gmfs_impl.py b/src/xsarsea/windspeed/gmfs_impl.py index a650186..96c8b76 100644 --- a/src/xsarsea/windspeed/gmfs_impl.py +++ b/src/xsarsea/windspeed/gmfs_impl.py @@ -194,7 +194,7 @@ def gmf_cmodifr2(inc_angle, wind_speed, wind_dir): # return sig -@GmfModel.register(wspd_range=[3., 80.], inc_range=[17., 50.], pol='VH', units='linear', defer=True) +@GmfModel.register(wspd_range=[3., 80.], pol='VH', units='linear', defer=True) def gmf_rs2_v2(incidence, speed, phi=None): """ Radarsat-2 VH GMF : relation between sigma0, incidence and windspeed. @@ -249,7 +249,7 @@ def gmf_rs2_v2(incidence, speed, phi=None): return sig_Final -@GmfModel.register(wspd_range=[3., 80.], inc_range=[17., 50.], pol='VH', units='linear', defer=True) +@GmfModel.register(wspd_range=[3., 80.], pol='VH', units='linear', defer=True) def gmf_s1_v2(incidence, speed, phi=None): """ Sentinel-1 VH GMF : relation between sigma0, incidence and windspeed.