From 6675e1041968310fe5562f0e1f4deeae4691b33f Mon Sep 17 00:00:00 2001 From: Israel Silber <55999320+isilber@users.noreply.github.com> Date: Fri, 1 Dec 2023 16:21:47 -0800 Subject: [PATCH] FIX: outdated text in masking_data_with_gatefilters.ipynb (#1490) * FIX: change deprecated np.str in arm_vpt to str * Update default wind_size in calculate_velocity_texture from 4 to 3 Using an odd number prevents single index offsets in placement in case of an even size * ADD: optional rectangular window dims for velocity texture analysis. Also, modify the default window size to 3 instead of the previous value of 4 (even number resulting in a potential offset). * FIX: nyquist velocity dtype in radar obj loaded with read_kazr * pep8 * line reformatting per black * TST: unit tests for rectangular texture window * STY: linting (black) * FIX: Add in linting fixes * FIX: metadata in core.radar.get_elevation * FIX: outdated text in masking_data_with_gatefilters.ipynb --------- Co-authored-by: mgrover1 --- doc/source/notebooks/masking_data_with_gatefilters.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/notebooks/masking_data_with_gatefilters.ipynb b/doc/source/notebooks/masking_data_with_gatefilters.ipynb index 79a86d41b0..c9a1335ea5 100644 --- a/doc/source/notebooks/masking_data_with_gatefilters.ipynb +++ b/doc/source/notebooks/masking_data_with_gatefilters.ipynb @@ -135,7 +135,7 @@ "# The below example shows how you can use a gatefilter to exclude values where gate_id is\n", "# equal to a certain value. (You can exclude values based on conditions from multiple\n", "# fields. In this example, we are excluding regions identified as second trip echoes\n", - "# (gate_id = 0), nonhydrometeors (gate_id = 1), and clutter (gate_id = 2).\n", + "# (gate_id = 0), nonhydrometeors (gate_id = 3), and clutter (gate_id = 5).\n", "gatefilter.exclude_equal(\"gate_id\", 0)\n", "gatefilter.exclude_equal(\"gate_id\", 3)\n", "gatefilter.exclude_equal(\"gate_id\", 5)"