Skip to content

Commit

Permalink
ENH: add support for more scan modes in qvp fcts
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfidan committed Aug 28, 2024
1 parent cf58dc0 commit d75cf78
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyart/retrieve/qvp.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
_update_qvp_metadata
_update_along_coord_metadata
""" "" "" "" "" "" "" "" "" "" "" "" "" "" ""
"""

from copy import deepcopy
from warnings import warn
Expand Down Expand Up @@ -106,6 +106,7 @@ def quasi_vertical_profile(radar, desired_angle=None, fields=None, gatefilter=No
fields = radar.fields

for field in fields:

# Filtering data based on defined gatefilter
# If none is defined goes to else statement
if gatefilter is not None:
Expand Down Expand Up @@ -430,6 +431,7 @@ def compute_rqvp(
)

for field_name in field_names:

# mask weights where there is no data
mask = np.ma.getmaskarray(val_interp[field_name])
weight_aux = np.ma.masked_where(mask, weight)
Expand Down

0 comments on commit d75cf78

Please sign in to comment.