Skip to content

Commit

Permalink
Remove the negative snow depth values.
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaruidong2017 committed Jan 18, 2025
1 parent 55b54cd commit 5cd21ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions parm/snow/jcb-base.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ crtm_coefficient_path: "{{ DATA }}/crtm/"

# Naming conventions for observational files
snow_obsdataroot_path: "{{COMIN_OBS}}"
snow_script_path: "{{snow_script_path}}"
snow_obsdatain_path: "{{snow_obsdatain_path}}"
snow_obsdatain_prefix: "{{OPREFIX}}"
snow_obsdatain_suffix: ".tm00.bufr_d"
Expand Down
1 change: 1 addition & 0 deletions ush/ioda/bufr2ioda/bufr_sfcsno.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +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
container.replace('variables/totalSnowDepth', snod)
snod_upd = container.get('variables/totalSnowDepth')

Expand Down

0 comments on commit 5cd21ab

Please sign in to comment.