/[lmdze]/trunk/libf/dyn3d/dynetat0.f90
ViewVC logotype

Diff of /trunk/libf/dyn3d/dynetat0.f90

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

revision 43 by guez, Fri Apr 8 12:43:31 2011 UTC revision 44 by guez, Wed Apr 13 12:29:18 2011 UTC
# Line 20  contains Line 20  contains
20      use iniadvtrac_m, only: tname      use iniadvtrac_m, only: tname
21      use logic, only: fxyhypb, ysinus      use logic, only: fxyhypb, ysinus
22      use serre, only: clon, clat, grossismy, grossismx      use serre, only: clon, clat, grossismy, grossismx
23      use netcdf95, only: NF95_GET_VAR, nf95_open, nf95_inq_varid, NF95_CLOSE      use netcdf95, only: NF95_GET_VAR, nf95_open, nf95_inq_varid, NF95_CLOSE, &
24             NF95_Gw_VAR
25      use netcdf, only: NF90_NOWRITE, NF90_NOERR      use netcdf, only: NF90_NOWRITE, NF90_NOERR
26      use nr_util, only: assert      use nr_util, only: assert
27      use temps, only: day_ref, itau_dyn, annee_ref      use temps, only: day_ref, itau_dyn, annee_ref
28    
     ! Arguments:  
29      REAL, intent(out):: vcov(: , :), ucov(:, :)      REAL, intent(out):: vcov(: , :), ucov(:, :)
30      REAL, intent(out):: teta(:, :, :) ! (iim + 1, jjm + 1, llm)      REAL, intent(out):: teta(:, :, :) ! (iim + 1, jjm + 1, llm)
31      REAL, intent(out):: q(:, :, :, :) ! (iim + 1, jjm + 1, llm, nqmx)      REAL, intent(out):: q(:, :, :, :) ! (iim + 1, jjm + 1, llm, nqmx)
# Line 34  contains Line 34  contains
34      REAL, intent(out):: phis(:, :) ! (iim + 1, jjm + 1)      REAL, intent(out):: phis(:, :) ! (iim + 1, jjm + 1)
35      REAL, intent(out):: time_0      REAL, intent(out):: time_0
36    
37      ! Variables      ! Local variables:
38      INTEGER iq      INTEGER iq
39      INTEGER, PARAMETER:: length = 100      REAL, pointer:: tab_cntrl(:) ! tableau des paramètres du run
     REAL tab_cntrl(length) ! tableau des paramètres du run  
40      INTEGER ierr, ncid, varid      INTEGER ierr, ncid, varid
41    
42      !-----------------------------------------------------------------------      !-----------------------------------------------------------------------
# Line 59  contains Line 58  contains
58      call nf95_open("start.nc", NF90_NOWRITE, ncid)      call nf95_open("start.nc", NF90_NOWRITE, ncid)
59    
60      call nf95_inq_varid(ncid, "controle", varid)      call nf95_inq_varid(ncid, "controle", varid)
61      call NF95_GET_VAR(ncid, varid, tab_cntrl)      call NF95_Gw_VAR(ncid, varid, tab_cntrl)
62    
63      im = int(tab_cntrl(1))      im = int(tab_cntrl(1))
64      jm = int(tab_cntrl(2))      jm = int(tab_cntrl(2))
# Line 116  contains Line 115  contains
115      time_0 = time_0 - INT(time_0)      time_0 = time_0 - INT(time_0)
116      ! {0 <= time0 < 1}      ! {0 <= time0 < 1}
117    
118        deallocate(tab_cntrl) ! pointer
119    
120      call NF95_INQ_VARID (ncid, "ucov", varid)      call NF95_INQ_VARID (ncid, "ucov", varid)
121      call NF95_GET_VAR(ncid, varid, ucov, count_nc=(/iim + 1, jjm + 1, llm, 1/))      call NF95_GET_VAR(ncid, varid, ucov, count_nc=(/iim + 1, jjm + 1, llm, 1/))
122    

Legend:
Removed from v.43  
changed lines
  Added in v.44

  ViewVC Help
Powered by ViewVC 1.1.21