Esempio n. 1
0
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
Esempio n. 2
0
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
Esempio n. 3
0
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
Esempio n. 4
0
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