def test_ra_hourly_refet(lat=s_args['lat'], lon=s_args['lon'], doy=h_args['doy'], time=h_args['time_mid'], ra=h_args['ra']): assert float(calcs._ra_hourly(lat, lon, doy, time, method='refet')) == pytest.approx(ra)
def test_ra_hourly_default(lat=s_args['lat'], lon=s_args['lon'], doy=h_args['doy'], time=h_args['time_mid'], ra=h_args['ra_asce']): assert float(calcs._ra_hourly(lat, lon, doy, time)) == pytest.approx(ra)