예제 #1
0
def test_calc_srad_humidity_iterative(short_daily_dataframe):
    m = MtClim(data=short_daily_dataframe)
    m.calc_tair()
    m.calc_prcp()
    m.snowpack()
    assert (m.data['s_swe'] >= 0.).all()
    m.calc_srad_humidity_iterative()
예제 #2
0
def test_snowpack(short_daily_dataframe):
    m = MtClim(data=short_daily_dataframe)
    m.calc_tair()
    m.calc_prcp()
    m.snowpack()
    assert (m.data['s_swe'] >= 0.).all()