/[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 66 by guez, Thu Sep 20 13:00:41 2012 UTC trunk/Sources/bibio/initdynav.f revision 134 by guez, Wed Apr 29 15:47:56 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 disvert_m, ONLY: nivsigs      ! format IOIPSL. Initialisation du fichier histoire moyenne.
16    
17      USE comgeom, ONLY: rlatu, rlonv      USE comgeom, ONLY: rlatu, rlonv
18      USE dimens_m, ONLY: llm      USE dimens_m, ONLY: llm
19        use dynetat0_m, only: day_ref, annee_ref
20      USE histbeg_totreg_m, ONLY: histbeg_totreg      USE histbeg_totreg_m, ONLY: histbeg_totreg
21      USE histdef_m, ONLY: histdef      USE histdef_m, ONLY: histdef
22      USE histend_m, ONLY: histend      USE histend_m, ONLY: histend
# Line 25  contains Line 25  contains
25      USE nr_util, ONLY: pi      USE nr_util, ONLY: pi
26      USE paramet_m, ONLY: iip1, jjp1      USE paramet_m, ONLY: iip1, jjp1
27      USE temps, ONLY: itau_dyn      USE temps, ONLY: itau_dyn
28        use ymds2ju_m, ONLY: ymds2ju
29    
30      integer, intent(in):: day0, anne0 ! date de reference      real, intent(in):: tstep ! fréquence d'écriture
     real, intent(in):: tstep ! frequence d'ecriture  
31      integer, intent(in):: nq ! nombre de traceurs      integer, intent(in):: nq ! nombre de traceurs
32      real, intent(in):: t_ops ! frequence de l'operation pour IOIPSL      real, intent(in):: t_ops ! fréquence de l'opération pour IOIPSL
33      real, intent(in):: t_wrt ! frequence d'ecriture sur le fichier      real, intent(in):: t_wrt ! fréquence d'écriture sur le fichier
34    
35      ! Variables locales      ! Variables locales
36      integer horiid, zvertiid      integer horiid, zvertiid
37      real julian      real julian
38      integer iq      integer iq, l
     integer ii, jj  
39    
40      !----------------------------------------------------      !----------------------------------------------------
41    
42      print *, "Call sequence information: initdynav"      print *, "Call sequence information: initdynav"
43    
44      CALL ymds2ju(anne0, 1, day0, 0., julian)      CALL ymds2ju(annee_ref, 1, day_ref, 0., julian)
45      call histbeg_totreg('dyn_hist_ave.nc', rlonv * 180. / pi, &      call histbeg_totreg('dyn_hist_ave.nc', rlonv * 180. / pi, &
46           rlatu * 180. / pi, 1, iip1, 1, jjp1, itau_dyn, julian, tstep, &           rlatu * 180. / pi, 1, iip1, 1, jjp1, itau_dyn, julian, tstep, &
47           horiid, histaveid)           horiid, histaveid)
48      call histvert(histaveid, 'sigss', 'Niveaux sigma', 'Pa', llm, nivsigs, &      call histvert(histaveid, 'sigss', 'Niveaux sigma', '', &
49           zvertiid)           (/(real(l), l = 1, llm)/), zvertiid)
50    
51      call histdef(histaveid, 'u', 'vents u scalaires moyennes', 'm/s', iip1, &      call histdef(histaveid, 'u', 'vents u scalaires moyennes', 'm/s', iip1, &
52           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.66  
changed lines
  Added in v.134

  ViewVC Help
Powered by ViewVC 1.1.21