Skip to content

Commit

Permalink
update test dataset date
Browse files Browse the repository at this point in the history
  • Loading branch information
kgoebber committed Sep 22, 2023
1 parent f5d3600 commit bbbd3ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/calc/test_thermo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'}
Expand Down Expand Up @@ -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():
Expand Down

0 comments on commit bbbd3ac

Please sign in to comment.