LMDZ
diag_slp.F90
Go to the documentation of this file.
1 SUBROUTINE diag_slp(nlon,t,pab,pal,pphis,tasfc,tastd,pmer)
2  USE dimphy
6  IMPLICIT NONE
26  INTEGER nlon
27  REAL t(nlon,klev)
28  REAL pab(nlon,klev+1)
29  REAL pal(nlon,klev)
30  REAL pphis(nlon)
31  REAL tasfc(nlon), tastd(nlon)
32  REAL pmer(nlon)
33 !!!
34 !!! calcul tasfc et tastd
35  tal1(:)=t(:,1)
36  pab2(:)=pab(:,2)
37  pal1(:)=pal(:,1)
38  CALL ctstar(nlon,1,nlon,tal1,pab2,pal1,pphis,tasfc,tastd)
39 !!!
40 !!! calcul slp
41  pab1(:)=pab(:,1)
42  CALL pppmer(nlon,1,nlon,pab1,pphis,tasfc,tastd,pmer)
43 !
44  RETURN
45  END
subroutine diag_slp(nlon, t, pab, pal, pphis, tasfc, tastd, pmer)
Definition: diag_slp.F90:2
real, dimension(:), allocatable, save pal1
integer, save klev
Definition: dimphy.F90:7
subroutine pppmer(KPROMA, KSTART, KPROF, PRPRESS, POROG, PTSTAR, PT0, PMSLPPP)
Definition: pppmer.F90:2
real, dimension(:), allocatable, save pab2
subroutine ctstar(KPROMA, KSTART, KPROF, PTB, PRESBH, PRESBF, POROG, PTSTAR, PT0)
Definition: ctstar.F90:2
real, dimension(:), allocatable, save pab1
real, dimension(:), allocatable, save tal1
Definition: dimphy.F90:1