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()
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()