6 |
|
|
7 |
contains |
contains |
8 |
|
|
9 |
SUBROUTINE phyredem0(lmt_pas) |
SUBROUTINE phyredem0(lmt_pas, itau_phy) |
10 |
|
|
11 |
! 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 |
12 |
! Author: Z. X. Li (LMD/CNRS) |
! Author: Z. X. Li (LMD/CNRS) |
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_put_var |
nf95_def_var, nf95_enddef, nf95_put_var |
25 |
use phyetat0_m, only: rlat, rlon |
use phyetat0_m, only: rlat, rlon |
|
USE temps, ONLY: itau_phy |
|
26 |
|
|
27 |
INTEGER, intent(in):: lmt_pas ! number of time steps of "physics" per day |
INTEGER, intent(in):: lmt_pas ! number of time steps of "physics" per day |
28 |
|
INTEGER, intent(in):: itau_phy |
29 |
|
|
30 |
! Local: |
! Local: |
31 |
|
|
78 |
(/idim2, dimid_nsoilmx, dimid_nbsrf/), varid) |
(/idim2, dimid_nsoilmx, dimid_nbsrf/), varid) |
79 |
call nf95_put_att(ncid_restartphy, varid, 'title', 'soil temperature') |
call nf95_put_att(ncid_restartphy, varid, 'title', 'soil temperature') |
80 |
|
|
|
call nf95_def_var(ncid_restartphy, 'TSLAB', nf90_float, idim2, varid) |
|
|
call nf95_put_att(ncid_restartphy, varid, 'title', & |
|
|
'Ecart de la SST (pour slab-ocean)') |
|
|
|
|
|
call nf95_def_var(ncid_restartphy, 'SEAICE', nf90_float, idim2, varid) |
|
|
call nf95_put_att(ncid_restartphy, varid, 'title', & |
|
|
'Glace de mer kg/m2 (pour slab-ocean)') |
|
|
|
|
81 |
call nf95_def_var(ncid_restartphy, 'QS', nf90_float, & |
call nf95_def_var(ncid_restartphy, 'QS', nf90_float, & |
82 |
(/idim2, dimid_nbsrf/), varid) |
(/idim2, dimid_nbsrf/), varid) |
83 |
call nf95_put_att(ncid_restartphy, varid, 'title', 'Humidite de surface') |
call nf95_put_att(ncid_restartphy, varid, 'title', 'Humidite de surface') |