/[lmdze]/trunk/phylmd/phyredem.f
ViewVC logotype

Diff of /trunk/phylmd/phyredem.f

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/Sources/phylmd/phyredem.f revision 175 by guez, Fri Feb 5 16:02:34 2016 UTC trunk/phylmd/phyredem.f revision 276 by guez, Thu Jul 12 14:49:20 2018 UTC
# Line 4  module phyredem_m Line 4  module phyredem_m
4    
5  contains  contains
6    
7    SUBROUTINE phyredem(pctsrf, tsol, tsoil, qsurf, qsol, snow, albedo, evap, &    SUBROUTINE phyredem(pctsrf, ftsol, ftsoil, qsurf, qsol, snow, albedo, evap, &
8         rain_fall, snow_fall, solsw, sollw, fder, radsol, frugs, agesno, zmea, &         rain_fall, snow_fall, solsw, sollw, fder, radsol, frugs, agesno, zmea, &
9         zstd, zsig, zgam, zthe, zpic, zval, t_ancien, q_ancien, rnebcon, &         zstd, zsig, zgam, zthe, zpic, zval, t_ancien, q_ancien, rnebcon, &
10         ratqs, clwcon, run_off_lic_0, sig1, w01)         ratqs, clwcon, run_off_lic_0, sig1, w01)
# Line 16  contains Line 16  contains
16      ! Objet : \'ecriture de l'\'etat de d\'emarrage ou red\'emarrage      ! Objet : \'ecriture de l'\'etat de d\'emarrage ou red\'emarrage
17      ! pour la physique      ! pour la physique
18    
19      USE dimphy, ONLY: klev, klon, zmasq      USE dimphy, ONLY: klev, klon
20      USE indicesol, ONLY: is_lic, is_oce, is_sic, is_ter, nbsrf      USE indicesol, ONLY: is_lic, is_oce, is_sic, is_ter, nbsrf
21      USE netcdf95, ONLY: nf95_inq_varid, nf95_put_var, nf95_close      USE netcdf95, ONLY: nf95_inq_varid, nf95_put_var, nf95_close
22        use phyetat0_m, only: zmasq
23      use phyredem0_m, only: ncid_restartphy      use phyredem0_m, only: ncid_restartphy
24    
25      REAL, INTENT(IN):: pctsrf(:, :) ! (klon, nbsrf)      REAL, INTENT(IN):: pctsrf(:, :) ! (klon, nbsrf)
26      REAL, INTENT(IN):: tsol(:, :) ! (klon, nbsrf)      REAL, INTENT(IN):: ftsol(:, :) ! (klon, nbsrf)
27      REAL, INTENT(IN):: tsoil(:, :, :) ! (klon, nsoilmx, nbsrf)      REAL, INTENT(IN):: ftsoil(:, :, :) ! (klon, nsoilmx, nbsrf)
28      REAL, INTENT(IN):: qsurf(:, :) ! (klon, nbsrf)      REAL, INTENT(IN):: qsurf(:, :) ! (klon, nbsrf)
29    
30      REAL, intent(in):: qsol(:) ! (klon)      REAL, intent(in):: qsol(:) ! (klon)
# Line 79  contains Line 80  contains
80      call nf95_put_var(ncid_restartphy, varid, pctsrf(:, is_sic))      call nf95_put_var(ncid_restartphy, varid, pctsrf(:, is_sic))
81    
82      call nf95_inq_varid(ncid_restartphy, "TS", varid)      call nf95_inq_varid(ncid_restartphy, "TS", varid)
83      call nf95_put_var(ncid_restartphy, varid, tsol)      call nf95_put_var(ncid_restartphy, varid, ftsol)
84    
85      call nf95_inq_varid(ncid_restartphy, "Tsoil", varid)      call nf95_inq_varid(ncid_restartphy, "Tsoil", varid)
86      call nf95_put_var(ncid_restartphy, varid, tsoil)      call nf95_put_var(ncid_restartphy, varid, ftsoil)
87    
88      call nf95_inq_varid(ncid_restartphy, "QS", varid)      call nf95_inq_varid(ncid_restartphy, "QS", varid)
89      call nf95_put_var(ncid_restartphy, varid, qsurf)      call nf95_put_var(ncid_restartphy, varid, qsurf)

Legend:
Removed from v.175  
changed lines
  Added in v.276

  ViewVC Help
Powered by ViewVC 1.1.21