Ignore:
Timestamp:
Aug 29, 2018, 4:41:34 PM (6 years ago)
Author:
jleconte
Message:

29/08/2018 == JL

-watersat was used only in vdifc and thus it was not consistent with other routines (turbdiff, rain, largescale...) which used Psat_water from watercommon.
This is now harmonized. ALl routines use Psat_water. Watersat.F has been removed, but the routine is now in watercommon for archival purpose. It is not used anymore.
-also changed the number of chars for tname in the dyn3D/infotrac.F90 to be able to run rcm1d.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/rain.F90

    r1859 r1993  
    8282      real reffh2oliq(ngrid,nlayer),reffh2oice(ngrid,nlayer)
    8383 
    84       real ttemp, ptemp, psat_tmp
     84      real ptemp, psat_tmp
    8585      real tnext(ngrid,nlayer)
    8686
     
    183183      DO k = 1, nlayer
    184184         DO i = 1, ngrid
    185             ttemp = zt(i,k)
    186185            ptemp = pplay(i,k)
    187 !            call watersat(ttemp,ptemp,zqs(i,k))
    188             call Psat_water(ttemp,ptemp,psat_tmp,zqs(i,k))
     186            call Psat_water(zt(i,k) ,ptemp,psat_tmp,zqs(i,k))
    189187            call Tsat_water(ptemp,Tsat(i,k))
    190188         ENDDO
Note: See TracChangeset for help on using the changeset viewer.