def __call__(self, projectables, *args, **kwargs):
        """Create the SAR Ice composite."""
        (mhh, mhv) = projectables
        ch1attrs = mhh.attrs
        ch2attrs = mhv.attrs
        mhh = np.sqrt(mhh ** 2 + 0.002) - 0.04
        mhv = np.sqrt(mhv ** 2 + 0.002) - 0.04
        mhh.attrs = ch1attrs
        mhv.attrs = ch2attrs
        green = overlay(mhh, mhv, 30) * 1000
        green.attrs = combine_metadata(mhh, mhv)

        return super(SARIce, self).__call__((mhv, green, mhh), *args, **kwargs)
def __call__ ( self , projectables , * args , ** kwargs ) : ( mhh , mhv ) = projectables ch1attrs = mhh . attrs ch2attrs = mhv . attrs mhh = np . sqrt ( mhh ** 2 + 0.002 ) - 0.04 mhv = np . sqrt ( mhv ** 2 + 0.002 ) - 0.04 mhh . attrs = ch1attrs mhv . attrs = ch2attrs green = overlay ( mhh , mhv , 30 ) * 1000 green . attrs = combine_metadata ( mhh , mhv ) return super ( SARIce , self ) . __call__ ( ( mhv , green , mhh ) , * args , ** kwargs )
Create the SAR Ice composite.