Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_get_era5_data_in_sarah_module():
period = pd.Period(time)
influx = atlite.datasets.sarah.get_data_era5(ref.coords, period, 'influx',
tmpdir=tmp_dir, x=None, y=None, sarah_dir=None)
influx = influx.compute()
assert_allclose(influx.influx_toa, ref.data.influx_toa, atol=1e-5, rtol=1e-5)