Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closes #70. Commit changes for PBL height #71

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Applications/GSI_App/GSI_GridComp.rc.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ post-analysis_obs_filename: %s.ana.obs.%y4%m2%d2_%h2z.ods
ensemble_upaprgb_filename: %s.prog.eta.%y4%m2%d2_%h2%n2z.nc4
forecast_errorB_filename: fsens.eta.nc4

vars_anaeta_file: phis,ps,ts,frland,frlandice,frlake,frocean,frseaice,delp,u,v,tv,sphu,ozone,qitot,qltot,qrtot,qstot
vars_bkgeta_file: phis,ps,ts,frland,frlandice,frlake,frocean,frseaice,u,v,tv,sphu,ozone,qitot,qltot,qrtot,qstot
vars_anaeta_file: phis,ps,ts,PBLH,frland,frlandice,frlake,frocean,frseaice,delp,u,v,tv,sphu,ozone,qitot,qltot,qrtot,qstot
vars_bkgeta_file: phis,ps,ts,PBLH,frland,frlandice,frlake,frocean,frseaice,u,v,tv,sphu,ozone,qitot,qltot,qrtot,qstot
vars_bkgsfc_file: U10M,V10M,SNOWDP,GWETTOP,TSOIL1,Z0M,DCOOL,DWARM,TDROP,TS_FOUND,TDEL

# used in read_guess
Expand Down
19 changes: 12 additions & 7 deletions src/Applications/GSI_App/GSIsa_Gaussian.F90
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ subroutine ReadFirstGuess (dynfile, sfcfile, impSt)
! Open file
!----------

!! only_vars='phis,ps,uwnd,vwnd,theta,sphu,ozone,qitot,qltot')
!! only_vars='phis,ps,PBLH,uwnd,vwnd,theta,sphu,ozone,qitot,qltot')

!I/O

Expand All @@ -604,6 +604,11 @@ subroutine ReadFirstGuess (dynfile, sfcfile, impSt)
call FieldRead (unit, Efield, rc=status)
VERIFY_(STATUS)

call ESMF_StateGetField(impSt, 'PBLH', Efield, rc=status)
VERIFY_(STATUS)
call FieldRead (unit, Efield, rc=status) !PBLH
VERIFY_(STATUS)

call ESMF_StateGetField(impSt, 'theta', Efield, rc=status)
VERIFY_(STATUS)
call FieldRead (unit, Efield, rc=status) !PS3
Expand Down Expand Up @@ -958,15 +963,15 @@ subroutine FillBundle( BUNDLE, NVARS, stType, RC)
real, pointer :: lons_in(:), lats_in(:)
real, pointer :: PTR2(:,:), PTR3(:,:,:)
character(len=ESMF_MAXSTR) :: NAME
character(len=ESMF_MAXSTR) :: difnam(16), defnam(7)
integer :: difdim(16), defdim(7)
character(len=ESMF_MAXSTR) :: difnam(17), defnam(8)
integer :: difdim(17), defdim(8)

data difnam /'phis','ps','uwnd','vwnd','theta','sphu','ozone',&
data difnam /'phis','ps','PBLH','uwnd','vwnd','theta','sphu','ozone',&
'qitot','qltot','TSKIN','U10M','V10M','SNOWDP', &
'GWETTOP','TSOIL1','ORO'/
data difdim /2,2,3,3,3,3,3,3,3,2,2,2,2,2,2,2/
data defnam /'dps','du','dv','dt','dq','doz','dql'/
data defdim /2,3,3,3,3,3,3/
data difdim /2,2,2,3,3,3,3,3,3,3,2,2,2,2,2,2,2/
data defnam /'dps','dpblh','du','dv','dt','dq','doz','dql'/
data defdim /2,2,3,3,3,3,3,3/

! Start

Expand Down