def from_std( class_, value ): # Convert standard to m/s mps = MPS.from_std( value ) # Convert m/s to Beaufort scale b = (mps/0.836)**(2/3) return b