def test_period(U): """ test the wave period """ w = Waves(test_wind_5, default_water) print "testing for U:", U f = w.comp_period(U) print f
def test_period_fetch(U): """ Test the wave period """ water = copy(default_water) water.fetch = 1e4 # 10km w = Waves(test_wind_5, water) # 10km fetch print "testing for U:", U T = w.comp_period(U) print T