/[lmdze]/trunk/Sources/dyn3d/Guide/conf_guide.f
ViewVC logotype

Diff of /trunk/Sources/dyn3d/Guide/conf_guide.f

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

trunk/dyn3d/conf_guide.f90 revision 76 by guez, Fri Nov 15 18:45:49 2013 UTC trunk/dyn3d/conf_guide.f revision 107 by guez, Thu Sep 11 15:09:15 2014 UTC
# Line 2  module conf_guide_m Line 2  module conf_guide_m
2    
3    IMPLICIT NONE    IMPLICIT NONE
4    
5    REAL tau_min_u, tau_max_u    !   Constantes de rappel. Unite : fraction de jour
6    REAL tau_min_v, tau_max_v    REAL:: tau_min_u = 0.02
7    REAL tau_min_t, tau_max_t    REAL:: tau_max_u = 10.
8    REAL tau_min_q, tau_max_q    REAL:: tau_min_v = 0.02
9    REAL tau_min_p, tau_max_p    REAL:: tau_max_v = 10.
10    LOGICAL ncep, ini_anal    REAL:: tau_min_t = 0.02
11    LOGICAL guide_u, guide_v, guide_t, guide_q, guide_p    REAL:: tau_max_t = 10.
12    INTEGER online    REAL:: tau_min_q = 0.02
13      REAL:: tau_max_q = 10.
14      REAL:: tau_min_p = 0.02
15      REAL:: tau_max_p = 10.
16    
17      LOGICAL:: ncep = .false. ! Coordonnee vert NCEP ou ECMWF
18      LOGICAL:: ini_anal = .false. ! Initial = analyse
19      LOGICAL:: guide_u = .true. ! guidage de u
20      LOGICAL:: guide_v = .true. ! gvidage de v
21      LOGICAL:: guide_t = .false. ! guidage de T
22      LOGICAL:: guide_q = .false. ! guidage de q
23    
24      logical:: online = .true. ! controle du guide
25      ! hors-ligne: x=x_rea
26    
27      ! Latitude min et max pour le rappel dans le cas ou on 'a les
28      ! analyses que sur une bande de latitudes.
29      REAL:: lat_min_guide = -90. ! Latitude minimum pour le guidage
30      real:: lat_max_guide = 90. ! Latitude maximum pour le guidage
31    
32  contains  contains
33    
# Line 18  contains Line 36  contains
36      ! From LMDZ4/libf/dyn3d/conf_guide.F, version 1.1.1.1 2004/05/19 12:53:07      ! From LMDZ4/libf/dyn3d/conf_guide.F, version 1.1.1.1 2004/05/19 12:53:07
37      !  Parametres de controle du run:      !  Parametres de controle du run:
38    
39      use getparam, only: ini_getparam, getpar, fin_getparam      use unit_nml_m, only: unit_nml
40      use tau2alpha_m, only: lat_max_guide, lat_min_guide  
41        namelist /conf_guide_nml/ ncep, ini_anal, guide_u, guide_v, guide_t, &
42             online, tau_min_u, tau_max_u, tau_min_v, tau_max_v, tau_min_t, &
43             tau_max_t, tau_min_q, tau_max_q, tau_min_p, tau_max_p, &
44             lat_min_guide, lat_max_guide
45    
46      !-----------------------------------------------------------------------      !-----------------------------------------------------------------------
47    
48      print *, "Call sequence information: conf_guide"      print *, "Call sequence information: conf_guide"
     call ini_getparam('guide.eff')  
   
     call getpar('online',1,online,'Index de controle du guide')  
     CALL getpar('ncep',.false.,ncep,'Coordonnee vert NCEP ou ECMWF')  
     CALL getpar('ini_anal',.false.,ini_anal,'Initial = analyse')  
   
     CALL getpar('guide_u',.true.,guide_u,'guidage de u')  
     CALL getpar('guide_v',.true.,guide_v,'guidage de v')  
     CALL getpar('guide_T',.true.,guide_T,'guidage de T')  
     CALL getpar('guide_P',.true.,guide_P,'guidage de P')  
     CALL getpar('guide_Q',.true.,guide_Q,'guidage de Q')  
   
     !   Constantes de rappel. Unite : fraction de jour  
     CALL getpar('tau_min_u',0.02,tau_min_u,'Cste de rappel min, u')  
     CALL getpar('tau_max_u', 10.,tau_max_u,'Cste de rappel max, u')  
     CALL getpar('tau_min_v',0.02,tau_min_v,'Cste de rappel min, v')  
     CALL getpar('tau_max_v', 10.,tau_max_v,'Cste de rappel max, v')  
     CALL getpar('tau_min_T',0.02,tau_min_T,'Cste de rappel min, T')  
     CALL getpar('tau_max_T', 10.,tau_max_T,'Cste de rappel max, T')  
     CALL getpar('tau_min_Q',0.02,tau_min_Q,'Cste de rappel min, Q')  
     CALL getpar('tau_max_Q', 10.,tau_max_Q,'Cste de rappel max, Q')  
     CALL getpar('tau_min_P',0.02,tau_min_P,'Cste de rappel min, P')  
     CALL getpar('tau_max_P', 10.,tau_max_P,'Cste de rappel max, P')  
   
     !   Latitude min et max pour le rappel.  
     !   dans le cas ou on 'a les analyses que sur une bande de latitudes.  
     CALL getpar('lat_min_guide',-90.,lat_min_guide &  
          ,'Latitude minimum pour le guidage ')  
     CALL getpar('lat_max_guide', 90.,lat_max_guide &  
          ,'Latitude maximum pour le guidage ')  
49    
50      CALL fin_getparam      print *, "Enter namelist 'conf_guide_nml'."
51        read(unit=*, nml=conf_guide_nml)
52        write(unit_nml, nml=conf_guide_nml)
53    
54    end SUBROUTINE conf_guide    end SUBROUTINE conf_guide
55    

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

  ViewVC Help
Powered by ViewVC 1.1.21