Skip to content

Commit

Permalink
fixed argument warning in np.linalg.lstsq in wind.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfidan committed Jan 22, 2024
1 parent 1874825 commit 91d6f18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyart/retrieve/wind.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ def _vad(radar, u_coeff, v_coeff, w_coeff, vel, npoints_min=6,

# retrieve velocity using least square method
vel_ret, _, _, _ = np.linalg.lstsq(
coeff_arr, vel_azi.compressed())
coeff_arr, vel_azi.compressed(), rcond=None)
u_vel[ind_start:ind_end + 1, ind_rng] = vel_ret[0]
v_vel[ind_start:ind_end + 1, ind_rng] = vel_ret[1]
w_vel[ind_start:ind_end + 1, ind_rng] = vel_ret[2]
Expand Down

0 comments on commit 91d6f18

Please sign in to comment.