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 30b46b9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/calc/test_thermo.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
wet_bulb_potential_temperature, wet_bulb_temperature)
from metpy.calc.thermo import _find_append_zero_crossings, galvez_davison_index
from metpy.testing import (assert_almost_equal, assert_array_almost_equal, assert_nan,
version_check, wet_bulb_temperature)
version_check)
from metpy.units import is_quantity, masked_array, units


Expand Down 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 30b46b9

Please sign in to comment.