Changeset 127 for trunk/libf/dyn3dpar/etat0_netcdf.F90
- Timestamp:
- May 24, 2011, 1:26:29 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libf/dyn3dpar/etat0_netcdf.F90
r66 r127 1 1 ! 2 ! $Id: etat0_netcdf.F90 1 486 2011-02-11 12:07:39Z fairhead$2 ! $Id: etat0_netcdf.F90 1520 2011-05-23 11:37:09Z emillour $ 3 3 ! 4 4 !------------------------------------------------------------------------------- 5 5 ! 6 SUBROUTINE etat0_netcdf(ib, masque, letat0)6 SUBROUTINE etat0_netcdf(ib, masque, phis, letat0) 7 7 ! 8 8 !------------------------------------------------------------------------------- … … 37 37 LOGICAL, INTENT(IN) :: ib ! barycentric interpolat. 38 38 REAL, DIMENSION(iip1,jjp1), INTENT(INOUT) :: masque ! land mask 39 REAL, DIMENSION(iip1,jjp1), INTENT(OUT) :: phis ! geopotentiel au sol 39 40 LOGICAL, INTENT(IN) :: letat0 ! F: masque only required 40 41 #ifndef CPP_EARTH … … 51 52 REAL, DIMENSION(klon) :: tsol, qsol 52 53 REAL, DIMENSION(klon) :: sn, rugmer, run_off_lic_0 53 REAL, DIMENSION(iip1,jjp1) :: orog, rugo, psol , phis54 REAL, DIMENSION(iip1,jjp1) :: orog, rugo, psol 54 55 REAL, DIMENSION(iip1,jjp1,llm+1) :: p3d 55 56 REAL, DIMENSION(iip1,jjp1,llm) :: uvent, t3d, tpot, qsat, qd … … 138 139 flag_aerosol, new_aod, & 139 140 bl95_b0, bl95_b1, & 140 iflag_thermals,nsplit_thermals,tau_thermals, & 141 iflag_thermals_ed,iflag_thermals_optflux, & 142 iflag_coupl,iflag_clos,iflag_wake, read_climoz, & 141 read_climoz, & 143 142 alp_offset) 144 143 … … 252 251 !******************************************************************************* 253 252 CALL pression(ip1jmp1, ap, bp, psol, p3d) 254 CALL exner_hyb(ip1jmp1, psol, p3d, alpha, beta, pks, pk, y) 253 if (disvert_type.eq.1) then 254 CALL exner_hyb(ip1jmp1, psol, p3d, alpha, beta, pks, pk, y) 255 else ! we assume that we are in the disvert_type==2 case 256 CALL exner_milieu(ip1jmp1,psol,p3d,beta,pks,pk,y) 257 endif 255 258 pls(:,:,:)=preff*(pk(:,:,:)/cpp)**(1./kappa) 256 259 ! WRITE(lunout,*) 'P3D :', p3d(10,20,:)
Note: See TracChangeset
for help on using the changeset viewer.