From bbbd3ac1c220a5db7af0353088e6a78f4bff5c51 Mon Sep 17 00:00:00 2001 From: kgoebber Date: Thu, 21 Sep 2023 20:45:35 -0500 Subject: [PATCH] update test dataset date --- tests/calc/test_thermo.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/calc/test_thermo.py b/tests/calc/test_thermo.py index 4cc55ec6d7d..3393623675f 100644 --- a/tests/calc/test_thermo.py +++ b/tests/calc/test_thermo.py @@ -2145,9 +2145,9 @@ def index_xarray_data(): @pytest.fixture() def index_xarray_data_expanded(): - """Create data for testing that index calculations work with xarray data. + """Create expanded data for testing that index calculations work with xarray data. - Expanded for Galvez Davison Index calculation, which requires 950hPa pressure + Specifically for Galvez Davison Index calculation, which requires 950hPa pressure """ pressure = xr.DataArray( [950., 850., 700., 500.], dims=('isobaric',), attrs={'units': 'hPa'} @@ -2184,7 +2184,7 @@ def index_xarray_data_expanded(): return xr.Dataset({'temperature': temp, 'profile': profile, 'dewpoint': dewp, 'wind_direction': dirw, 'wind_speed': speed}, - coords={'isobaric': pressure, 'time': ['2020-01-01T00:00Z']}) + coords={'isobaric': pressure, 'time': ['2023-01-01T00:00Z']}) def test_lifted_index():