Skip to content

Commit

Permalink
FIX: outdated text in masking_data_with_gatefilters.ipynb (#1490)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
isilber and mgrover1 authored Dec 2, 2023
1 parent f0df097 commit 6675e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/source/notebooks/masking_data_with_gatefilters.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down

0 comments on commit 6675e10

Please sign in to comment.