diff --git a/tests/retrieve/test_echo_class.py b/tests/retrieve/test_echo_class.py index ff11f74dd3..288ca32dd9 100644 --- a/tests/retrieve/test_echo_class.py +++ b/tests/retrieve/test_echo_class.py @@ -67,15 +67,15 @@ def test_steiner_conv_strat_modify_area(area_relation): assert eclass["data"].max() == 2 -def test_conv_strat__yuter_default(): +def test_feature_detection_default(): grid = pyart.testing.make_storm_grid() - dict = pyart.retrieve.conv_strat_yuter(grid, bkg_rad_km=50) + dict = pyart.retrieve.feature_detection(grid, bkg_rad_km=50) - assert "convsf" in dict.keys() - assert "convsf_under" in dict.keys() - assert "convsf_over" in dict.keys() + assert "feature_detection" in dict.keys() + assert "feature_under" in dict.keys() + assert "feature_over" in dict.keys() assert np.all( - dict["convsf"]["data"][25] + dict["feature_detection"]["data"][0, 25, :] == np.array( [ 0, @@ -123,13 +123,13 @@ def test_conv_strat__yuter_default(): ) -def test_conv_strat_yuter_noest(): +def test_feature_detection_noest(): grid = pyart.testing.make_storm_grid() - dict = pyart.retrieve.conv_strat_yuter(grid, bkg_rad_km=50, estimate_flag=False) + dict = pyart.retrieve.feature_detection(grid, bkg_rad_km=50, estimate_flag=False) - assert "convsf" in dict.keys() - assert "convsf_under" not in dict.keys() - assert "convsf_over" not in dict.keys() + assert "feature_detection" in dict.keys() + assert "feature_under" not in dict.keys() + assert "feature_over" not in dict.keys() def test_hydroclass_semisupervised():