Skip to content

Commit

Permalink
Fix a logic error
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaruidong2017 committed Jan 18, 2025
1 parent 47bfb19 commit bb85eb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ush/ioda/bufr2ioda/bufr_sfcsno.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def _make_obs(comm, input_path, mapping_path):
snod = container.get('variables/totalSnowDepth')
snod[(sogr <= 11.0) & snod.mask] = 0.0
snod[(sogr == 15.0) & snod.mask] = 0.0
snod.mask = (snod < 0.0) & snod.mask
snod.mask = (snod < 0.0) | snod.mask
container.replace('variables/totalSnowDepth', snod)
snod_upd = container.get('variables/totalSnowDepth')

Expand Down

0 comments on commit bb85eb6

Please sign in to comment.