Skip to content

Commit

Permalink
Merge pull request #77 from vincelhx/master
Browse files Browse the repository at this point in the history
cv2 change + incidence range change
  • Loading branch information
Skealz authored Sep 16, 2024
2 parents c25532a + 7ee66ed commit 3d47ea1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/xsarsea/gradients.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/xsarsea/windspeed/gmfs_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 3d47ea1

Please sign in to comment.