Skip to content

Commit

Permalink
Update snow DA cycling for the fractional grid setting. (#504)
Browse files Browse the repository at this point in the history
* Change the meta data override file for GFSv17 fractional grid option.

* Replace variable "snwdph" with $(SNOWDEPTHVAR) for snwdph/snodl.

* Remove the obselete yaml file.

* Minor changes.

* Minor changes.

* Assign the obs error in the yaml files.

* Change state variable name from snwdph to snodl.

---------

Co-authored-by: Cory Martin <[email protected]>
  • Loading branch information
jiaruidong2017 and CoryMartin-NOAA authored Jul 7, 2023
1 parent a2caa70 commit e963914
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
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 e963914

Please sign in to comment.