Skip to content

Commit

Permalink
Merge branch 'develop' into bugfix/stable_driver
Browse files Browse the repository at this point in the history
  • Loading branch information
CoryMartin-NOAA committed Jul 12, 2023
2 parents c8a9765 + 78d5873 commit 590a7f4
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 5 deletions.
2 changes: 1 addition & 1 deletion parm/land/letkfoi/apply_incr_nml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
date_str = "{{ current_cycle | to_YMD }}",
hour_str = "{{ current_cycle | strftime('%H') }}",
res = {{ CASE[1:] }},
frac_grid = {{ FRAC_GRID | to_f90bool }},
frac_grid = .true.,
rst_path = "{{ DATA }}/anl",
inc_path = "{{ DATA }}/anl",
orog_path = "{{ HOMEgfs }}/fix/orog/{{ CASE }}",
Expand Down
4 changes: 2 additions & 2 deletions parm/land/letkfoi/letkfoi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ background:
template:
datetime: '{{ current_cycle | to_isotime }}'
filetype: fms restart
state variables: [snwdph,vtype,slmsk]
state variables: [snodl,vtype,slmsk]
datapath: $(DATA)/bkg/mem%mem%/RESTART
filename_sfcd: '{{ current_cycle | to_fv3time }}.sfc_data.nc'
filename_cplr: '{{ current_cycle | to_fv3time }}.coupler.res'
Expand Down Expand Up @@ -56,5 +56,5 @@ output increment:
filetype: fms restart
filename_sfcd: '{{ current_cycle | to_fv3time }}.sfc_data.nc'
filename_cplr: '{{ current_cycle | to_fv3time }}.coupler.res'
state variables: [snwdph,vtype,slmsk]
state variables: [snodl,vtype,slmsk]

6 changes: 6 additions & 0 deletions parm/land/obs/config/adpsfc_snow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ obs filters:
damping_factor_1: 1.0
damping_factor_2: 1.0
background_error_group: BkgError
- filter: Perform Action
filter variables:
- name: totalSnowDepth
action:
name: assign error
error parameter: 40.0
- filter: Variable Assignment
assignments:
- name: GrossErrorProbability/totalSnowDepth
Expand Down
2 changes: 1 addition & 1 deletion test/land/letkfoi_snowda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ WORKDIR=$project_binary_dir/test/land/letkfoi_snowda
RSTDIR=$GDASAPP_TESTDATA/lowres/gdas.$GYMD/$GHR/model_data/atmos/restart
export OBSDIR=$GDASAPP_TESTDATA/land

GFSv17=${GFSv17:-"NO"}
GFSv17=${GFSv17:-"YES"}
DAtype=letkfoi_snow

if [ $GFSv17 == "YES" ]; then
Expand Down
9 changes: 8 additions & 1 deletion ush/land/genYAML_output_letkfoi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ background:
filename_sfcd: 20210323.180000.sfc_data.nc
filetype: fms restart
state variables:
- snwdph
- snodl
- vtype
- slmsk
zero padding: '3'
Expand Down Expand Up @@ -119,6 +119,13 @@ observations:
min_latitude: '-90'
min_longitude: '-180'
use_legacy_buddy_collector: 'false'
# Assign obsError.
- filter: Perform Action
filter variables:
- name: totalSnowDepth
action:
name: assign error
error parameter: 40.0
- assignments:
- name: GrossErrorProbability/totalSnowDepth
type: float
Expand Down

0 comments on commit 590a7f4

Please sign in to comment.