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 Dec 15, 2023
1 parent fba258f commit 624fafd
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 @@ -2311,9 +2311,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 @@ -2350,7 +2350,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 624fafd

Please sign in to comment.