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

Diff of /trunk/Sources/phylmd/phyredem.f

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

revision 134 by guez, Wed Apr 29 15:47:56 2015 UTC revision 138 by guez, Fri May 22 23:13:19 2015 UTC
# Line 4  module phyredem_m Line 4  module phyredem_m
4    
5  contains  contains
6    
7    SUBROUTINE phyredem(fichnom, rlat, rlon, pctsrf, tsol, tsoil, tslab, &    SUBROUTINE phyredem(fichnom, pctsrf, tsol, tsoil, tslab, seaice, qsurf, &
8         seaice, qsurf, qsol, snow, albedo, alblw, evap, rain_fall, snow_fall, &         qsol, snow, albedo, alblw, evap, rain_fall, snow_fall, solsw, sollw, &
9         solsw, sollw, fder, radsol, frugs, agesno, zmea, zstd, zsig, zgam, &         fder, radsol, frugs, agesno, zmea, zstd, zsig, zgam, zthe, zpic, zval, &
10         zthe, zpic, zval, t_ancien, q_ancien, rnebcon, ratqs, clwcon, &         t_ancien, q_ancien, rnebcon, ratqs, clwcon, run_off_lic_0, sig1, w01)
        run_off_lic_0, sig1, w01)  
11    
12      ! From phylmd/phyredem.F, version 1.3 2005/05/25 13:10:09      ! From phylmd/phyredem.F, version 1.3, 2005/05/25 13:10:09
13      ! Author: Z. X. Li (LMD/CNRS)      ! Author: Z. X. Li (LMD/CNRS)
14      ! Date: 1993/08/18      ! Date: 1993/08/18
15      ! Objet : écriture de l'état de démarrage ou redémarrage pour la physique  
16        ! Objet : \'ecriture de l'\'etat de d\'emarrage ou red\'emarrage
17        ! pour la physique
18    
19      USE dimphy, ONLY: klev, klon, zmasq      USE dimphy, ONLY: klev, klon, zmasq
20      USE dimsoil, ONLY: nsoilmx      USE dimsoil, ONLY: nsoilmx
# Line 21  contains Line 22  contains
22      USE netcdf, ONLY: nf90_clobber, nf90_global, nf90_float      USE netcdf, ONLY: nf90_clobber, nf90_global, nf90_float
23      USE netcdf95, ONLY: nf95_create, nf95_put_att, nf95_def_dim, &      USE netcdf95, ONLY: nf95_create, nf95_put_att, nf95_def_dim, &
24           nf95_def_var, nf95_enddef, nf95_redef, nf95_put_var, nf95_close           nf95_def_var, nf95_enddef, nf95_redef, nf95_put_var, nf95_close
25        use phyetat0_m, only: rlat, rlon
26      USE temps, ONLY: itau_phy      USE temps, ONLY: itau_phy
27    
28      CHARACTER(len=*), INTENT(IN):: fichnom      CHARACTER(len=*), INTENT(IN):: fichnom
29      REAL, INTENT(IN):: rlat(klon), rlon(klon)      REAL, INTENT(IN):: pctsrf(:, :) ! (klon, nbsrf)
     REAL, INTENT(IN):: pctsrf(klon, nbsrf)  
30      REAL, INTENT(IN):: tsol(:, :) ! (klon, nbsrf)      REAL, INTENT(IN):: tsol(:, :) ! (klon, nbsrf)
31      REAL, INTENT(IN):: tsoil(:, :, :) ! (klon, nsoilmx, nbsrf)      REAL, INTENT(IN):: tsoil(:, :, :) ! (klon, nsoilmx, nbsrf)
32      REAL, INTENT(IN):: tslab(:), seaice(:) ! (klon) slab ocean      REAL, INTENT(IN):: tslab(:), seaice(:) ! (klon) slab ocean
# Line 78  contains Line 79  contains
79      CALL nf95_create(fichnom, nf90_clobber, ncid)      CALL nf95_create(fichnom, nf90_clobber, ncid)
80    
81      call nf95_put_att(ncid, nf90_global, 'title', &      call nf95_put_att(ncid, nf90_global, 'title', &
82           'Fichier redémarrage physique')           'start file for the physics code')
83      call nf95_put_att(ncid, nf90_global, "itau_phy", itau_phy)      call nf95_put_att(ncid, nf90_global, "itau_phy", itau_phy)
84    
85      call nf95_def_dim(ncid, 'points_physiques', klon, idim2)      call nf95_def_dim(ncid, 'points_physiques', klon, idim2)

Legend:
Removed from v.134  
changed lines
  Added in v.138

  ViewVC Help
Powered by ViewVC 1.1.21