/[lmdze]/trunk/Sources/dyn3d/initdynav.f
ViewVC logotype

Diff of /trunk/Sources/dyn3d/initdynav.f

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

trunk/libf/bibio/initdynav.f90 revision 62 by guez, Thu Jul 26 14:37:37 2012 UTC trunk/Sources/dyn3d/initdynav.f revision 144 by guez, Wed Jun 10 16:46:46 2015 UTC
# Line 6  module initdynav_m Line 6  module initdynav_m
6    
7  contains  contains
8    
9    subroutine initdynav(day0, anne0, tstep, nq, t_ops, t_wrt)    subroutine initdynav(tstep, nq, t_ops, t_wrt)
10    
11      ! From initdynav.F, version 1.1.1.1, 2004/05/19 12:53:05      ! From initdynav.F, version 1.1.1.1, 2004/05/19 12:53:05
12      ! L. Fairhead, LMD      ! L. Fairhead, LMD
     ! Routine d'initialisation des écritures des fichiers histoires LMDZ  
     ! au format IOIPSL. Initialisation du fichier histoire moyenne.  
13    
14      use calendar, ONLY: ymds2ju      ! Routine d'initialisation des écritures des fichiers histoires au
15      USE comvert, ONLY: nivsigs      ! format IOIPSL. Initialisation du fichier histoire moyenne.
16      USE comgeom, ONLY: rlatu, rlonv  
17      USE dimens_m, ONLY: llm      USE dimens_m, ONLY: llm
18        use dynetat0_m, only: day_ref, annee_ref, rlatu, rlonv
19      USE histbeg_totreg_m, ONLY: histbeg_totreg      USE histbeg_totreg_m, ONLY: histbeg_totreg
20      USE histdef_m, ONLY: histdef      USE histdef_m, ONLY: histdef
21      USE histend_m, ONLY: histend      USE histend_m, ONLY: histend
# Line 25  contains Line 24  contains
24      USE nr_util, ONLY: pi      USE nr_util, ONLY: pi
25      USE paramet_m, ONLY: iip1, jjp1      USE paramet_m, ONLY: iip1, jjp1
26      USE temps, ONLY: itau_dyn      USE temps, ONLY: itau_dyn
27        use ymds2ju_m, ONLY: ymds2ju
28    
29      integer, intent(in):: day0, anne0 ! date de reference      real, intent(in):: tstep ! fréquence d'écriture
     real, intent(in):: tstep ! frequence d'ecriture  
30      integer, intent(in):: nq ! nombre de traceurs      integer, intent(in):: nq ! nombre de traceurs
31      real, intent(in):: t_ops ! frequence de l'operation pour IOIPSL      real, intent(in):: t_ops ! fréquence de l'opération pour IOIPSL
32      real, intent(in):: t_wrt ! frequence d'ecriture sur le fichier      real, intent(in):: t_wrt ! fréquence d'écriture sur le fichier
33    
34      ! Variables locales      ! Variables locales
35      integer horiid, zvertiid      integer horiid, zvertiid
36      real julian      real julian
37      integer iq      integer iq, l
     integer ii, jj  
38    
39      !----------------------------------------------------      !----------------------------------------------------
40    
41      print *, "Call sequence information: initdynav"      print *, "Call sequence information: initdynav"
42    
43      CALL ymds2ju(anne0, 1, day0, 0., julian)      CALL ymds2ju(annee_ref, 1, day_ref, 0., julian)
44      call histbeg_totreg('dyn_hist_ave.nc', rlonv * 180. / pi, &      call histbeg_totreg('dyn_hist_ave.nc', rlonv * 180. / pi, &
45           rlatu * 180. / pi, 1, iip1, 1, jjp1, itau_dyn, julian, tstep, &           rlatu * 180. / pi, 1, iip1, 1, jjp1, itau_dyn, julian, tstep, &
46           horiid, histaveid)           horiid, histaveid)
47      call histvert(histaveid, 'sigss', 'Niveaux sigma', 'Pa', llm, nivsigs, &      call histvert(histaveid, 'sigss', 'Niveaux sigma', '', &
48           zvertiid)           (/(real(l), l = 1, llm)/), zvertiid)
49    
50      call histdef(histaveid, 'u', 'vents u scalaires moyennes', 'm/s', iip1, &      call histdef(histaveid, 'u', 'vents u scalaires moyennes', 'm/s', iip1, &
51           jjp1, horiid, llm, 1, llm, zvertiid, 'ave(X)', t_ops, t_wrt)           jjp1, horiid, llm, 1, llm, zvertiid, 'ave(X)', t_ops, t_wrt)

Legend:
Removed from v.62  
changed lines
  Added in v.144

  ViewVC Help
Powered by ViewVC 1.1.21