Skip to content

Commit

Permalink
Merge to develop.
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaruidong2017 committed Aug 14, 2023
1 parent a4a84e7 commit 24bfe75
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 36 deletions.
2 changes: 2 additions & 0 deletions parm/land/letkfoi/letkfoi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ local ensemble DA:

output increment:
datapath: $(DATA)/anl
prefix: landinc
filetype: fms restart
filename_sfcd: '{{ current_cycle | to_fv3time }}.sfc_data.nc'
filename_cplr: '{{ current_cycle | to_fv3time }}.coupler.res'
state variables: [snodl,vtype,slmsk]

9 changes: 0 additions & 9 deletions parm/land/prep/incr.nml.j2

This file was deleted.

2 changes: 1 addition & 1 deletion parm/land/prep/prep_ims.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ calcfims:
- [$(COM_OBS)/$(OPREFIX)IMS4km_to_FV3_mapping.$(CASE)_oro_data.nc, $(DATA)/obs/IMS4km_to_FV3_mapping.$(CASE)_oro_data.nc]
ims2ioda:
copy:
- [$(DATA)/ims_snow_{{ current_cycle | to_YMDH }}.nc4, $(COM_OBS)/$(OPREFIX)ims_snow_{{ current_cycle | to_YMDH }}.nc4]
- [$(DATA)/ims_snow_{{ current_cycle | to_YMDH }}.nc4, $(COM_OBS)/$(OPREFIX)ims_snow.nc4]

22 changes: 0 additions & 22 deletions parm/land/prep/prep_run.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions test/land/create_bkg_ens.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ if [[ ${DAtype} == 'letkfoi_snow' ]]; then
if [ -e $WORKDIR/mem${ens} ]; then
rm -rf $WORKDIR/mem${ens}
fi
mkdir -p $WORKDIR/mem${ens}/RESTART
mkdir -p $WORKDIR/mem${ens}
for tile in 1 2 3 4 5 6
do
cp ${RSTDIR}/${FILEDATE}.sfc_data.tile${tile}.nc ${WORKDIR}/mem${ens}/RESTART/${FILEDATE}.sfc_data.tile${tile}.nc
cp ${RSTDIR}/${FILEDATE}.sfc_data.tile${tile}.nc ${WORKDIR}/mem${ens}/${FILEDATE}.sfc_data.tile${tile}.nc
done
cp ${RSTDIR}/${FILEDATE}.coupler.res ${WORKDIR}/mem${ens}/RESTART/${FILEDATE}.coupler.res
cp ${RSTDIR}/${FILEDATE}.coupler.res ${WORKDIR}/mem${ens}/${FILEDATE}.coupler.res
done


Expand Down
2 changes: 1 addition & 1 deletion ush/land/letkf_create_ens.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
for (mem, value) in zip(ens_dirs, sign):
for tt in range(1, 7):
# open file
out_netcdf = os.path.join(workdir, mem, "RESTART", f"{fstub}.sfc_data.tile{tt}.nc")
out_netcdf = os.path.join(workdir, mem, f"{fstub}.sfc_data.tile{tt}.nc")
with Dataset(out_netcdf, "r+") as ncOut:
slmsk_array = ncOut.variables['slmsk'][:]
vtype_array = ncOut.variables['vtype'][:]
Expand Down

0 comments on commit 24bfe75

Please sign in to comment.