/[lmdze]/trunk/dyn3d/dynetat0.f
ViewVC logotype

Diff of /trunk/dyn3d/dynetat0.f

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

revision 76 by guez, Fri Nov 15 18:45:49 2013 UTC revision 79 by guez, Fri Feb 28 17:52:47 2014 UTC
# Line 12  contains Line 12  contains
12      ! Authors: P. Le Van, L. Fairhead      ! Authors: P. Le Van, L. Fairhead
13      ! This procedure reads the initial state of the atmosphere.      ! This procedure reads the initial state of the atmosphere.
14    
15      use comconst, only: im, dtvr, jm, lllm      use comconst, only: dtvr
16      use comgeom, only: rlonu, rlatu, rlonv, rlatv, cu_2d, cv_2d, aire_2d      use comgeom, only: rlonu, rlatu, rlonv, rlatv, cu_2d, cv_2d, aire_2d
17      use conf_gcm_m, only: fxyhypb, ysinus      use conf_gcm_m, only: fxyhypb, ysinus
18      use dimens_m, only: iim, jjm, llm, nqmx      use dimens_m, only: iim, jjm, llm, nqmx
# Line 59  contains Line 59  contains
59      call nf95_inq_varid(ncid, "controle", varid)      call nf95_inq_varid(ncid, "controle", varid)
60      call NF95_Gw_VAR(ncid, varid, tab_cntrl)      call NF95_Gw_VAR(ncid, varid, tab_cntrl)
61    
62      im = int(tab_cntrl(1))      call assert(int(tab_cntrl(1)) == iim, "dynetat0 tab_cntrl iim")
63      jm = int(tab_cntrl(2))      call assert(int(tab_cntrl(2)) == jjm, "dynetat0 tab_cntrl jjm")
64      lllm = int(tab_cntrl(3))      call assert(int(tab_cntrl(3)) == llm, "dynetat0 tab_cntrl llm")
     call assert(im == iim, "dynetat0 im iim")  
     call assert(jm == jjm, "dynetat0 jm jjm")  
     call assert(lllm == llm, "dynetat0 lllm llm")  
65    
66      day_ref = int(tab_cntrl(4))      day_ref = int(tab_cntrl(4))
67      annee_ref = int(tab_cntrl(5))      annee_ref = int(tab_cntrl(5))
68      dtvr = tab_cntrl(12)  
69        IF (dtvr /= tab_cntrl(12)) THEN
70           print *, 'Warning: the time steps from day_step and "start.nc" ' // &
71              'are different.'
72           print *, 'dtvr from day_step: ', dtvr
73           print *, 'dtvr from "start.nc": ', tab_cntrl(12)
74           print *, 'Using the value from day_step.'
75        ENDIF
76    
77      etot0 = tab_cntrl(13)      etot0 = tab_cntrl(13)
78      ptot0 = tab_cntrl(14)      ptot0 = tab_cntrl(14)
79      ztot0 = tab_cntrl(15)      ztot0 = tab_cntrl(15)

Legend:
Removed from v.76  
changed lines
  Added in v.79

  ViewVC Help
Powered by ViewVC 1.1.21