Skip to content

Commit

Permalink
FIX: Small error in Doppler lidar code with undefined var_name (#812)
Browse files Browse the repository at this point in the history
  • Loading branch information
rcjackson committed Mar 28, 2024
1 parent ab0b516 commit 390bf32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions act/retrievals/doppler_lidar.py
Expand Up @@ -103,6 +103,7 @@ def compute_winds_from_ppi(
else:
try:
snr = ds[snr_name].values
var_name = snr_name
except KeyError:
intensity = ds['intensity'].values
snr = intensity - 1
Expand Down

0 comments on commit 390bf32

Please sign in to comment.