Changeset 2787 for LMDZ5/branches/testing/libf/phylmd/cdrag.F90
- Timestamp:
- Jan 30, 2017, 5:54:45 PM (8 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 2728,2730-2775,2777-2785
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/phylmd/cdrag.F90
-
Property
svn:keywords
set to
Id
r2488 r2787 1 1 ! 2 !$Id : cdrag.F90 ???? 2015-??-?? ??:??:??Z ?$2 !$Id$ 3 3 ! 4 4 SUBROUTINE cdrag( knon, nsrf, & … … 9 9 USE dimphy 10 10 USE indice_sol_mod 11 USE print_control_mod, ONLY: lunout 11 USE print_control_mod, ONLY: lunout, prt_level 12 12 IMPLICIT NONE 13 13 ! ================================================================= c … … 139 139 IF (qsurf(i).LT.0.0) ng_qsurf = ng_qsurf + 1 140 140 ENDDO 141 IF (ng_q1.GT.0 ) THEN141 IF (ng_q1.GT.0 .and. prt_level > 5) THEN 142 142 WRITE(lunout,*)" *** Warning: Negative q1(humidity at 1st level) values in cdrag.F90 !" 143 143 WRITE(lunout,*)" The total number of the grids is: ", ng_q1 … … 146 146 ! CALL abort_physic(modname,abort_message,1) 147 147 ENDIF 148 IF (ng_qsurf.GT.0 ) THEN148 IF (ng_qsurf.GT.0 .and. prt_level > 5) THEN 149 149 WRITE(lunout,*)" *** Warning: Negative qsurf(humidity at surface) values in cdrag.F90 !" 150 150 WRITE(lunout,*)" The total number of the grids is: ", ng_qsurf … … 172 172 ! the negative qsurf and q1 are set to zero (as in coefcdrag) 173 173 ztsolv = tsurf(i) * (1.0+RETV*max(qsurf(i),0.0)) ! negative qsurf set to zero 174 ztvd = (t1(i)+zgeop1(i)/RCPD/(1.+RVTMP2* q1(i))) &174 ztvd = (t1(i)+zgeop1(i)/RCPD/(1.+RVTMP2*max(q1(i),0.0))) & 175 175 *(1.+RETV*max(q1(i),0.0)) ! negative q1 set to zero 176 176 zri(i) = zgeop1(i)*(ztvd-ztsolv)/(zdu2*ztvd) -
Property
svn:keywords
set to
Note: See TracChangeset
for help on using the changeset viewer.