Changeset 2361 for LMDZ5/trunk/libf/dynlonlat_phylonlat/phylmd
- Timestamp:
- Sep 7, 2015, 5:50:29 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/dynlonlat_phylonlat/phylmd/etat0dyn_netcdf.F90
r2336 r2361 36 36 USE ioipsl, ONLY: flininfo, flinopen, flinget, flinclo, histclo 37 37 USE assert_eq_m, ONLY: assert_eq 38 USE indice_sol_mod, ONLY: epsfra39 38 IMPLICIT NONE 40 39 … … 87 86 INTEGER :: i, j, l, ji, itau, iday 88 87 REAL :: xpn, xps, time, phystep 89 REAL, DIMENSION(iip1,jjp1) :: psol , masque_tmp88 REAL, DIMENSION(iip1,jjp1) :: psol 90 89 REAL, DIMENSION(iip1,jjp1,llm+1) :: p3d 91 90 REAL, DIMENSION(iip1,jjp1,llm) :: uvent, t3d, tpot, qsat, qd … … 101 100 102 101 deg2rad = pi/180.0 103 104 ! Compute ground geopotential and possibly the mask.105 !*******************************************************************************106 masque_tmp(:,:)=masque(:,:)107 WRITE(fmt,"(i4,'i1)')")iip1 ; fmt='('//ADJUSTL(fmt)108 IF(ALL(masque==-99999.)) THEN !--- KEEP NEW MASK109 masque=masque_tmp110 IF(prt_level>=1) THEN111 WRITE(lunout,*)'BUILT MASK :'112 WRITE(lunout,fmt) NINT(masque)113 END IF114 WHERE( masque(:,:)<EPSFRA) masque(:,:)=0.115 WHERE(1.-masque(:,:)<EPSFRA) masque(:,:)=1.116 END IF117 102 118 103 ! Compute psol AND tsol, knowing phis.
Note: See TracChangeset
for help on using the changeset viewer.
