def test_monthly_ts(self): calc_int = CalcInterface(intvl_out=1, dtype_out_time='ts', **self.test_params) calc = Calc(calc_int) calc.compute() assert isfile(calc.path_out['ts']) assert isfile(calc.path_tar_out)
def test_seasonal_mean(self): calc_int = CalcInterface(intvl_out='djf', dtype_out_time='av', **self.test_params) calc = Calc(calc_int) calc.compute() assert isfile(calc.path_out['av']) assert isfile(calc.path_tar_out)
def test_simple_reg_av(self): calc_int = CalcInterface(intvl_out='ann', dtype_out_time='reg.av', region=[globe], **self.test_params) calc = Calc(calc_int) calc.compute() assert isfile(calc.path_out['reg.av']) assert isfile(calc.path_tar_out)