Changeset 1368 for LMDZ4


Ignore:
Timestamp:
Apr 22, 2010, 12:46:16 PM (15 years ago)
Author:
idelkadi
Message:
  • Rajout des cles logiques pour activer les sorties COSP par frequence
  • Reglages des niveaux de sorties pour les variables CFMIP
Location:
LMDZ4/trunk/libf
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/trunk/libf/cosp/phys_cosp.F90

    r1327 r1368  
    44
    55
    6   subroutine phys_cosp( itap,dtime,freq_cosp,ecrit_mth,ecrit_day,ecrit_hf, &
    7                         overlaplmdz,Nptslmdz,Nlevlmdz,lon,lat, presnivs, &
     6  subroutine phys_cosp( itap,dtime,freq_cosp, &
     7                        ok_mensuelCOSP,ok_journeCOSP,ok_hfCOSP, &
     8                        ecrit_mth,ecrit_day,ecrit_hf, &
     9                        Nptslmdz,Nlevlmdz,lon,lat, presnivs,overlaplmdz, &
    810                        ref_liq,ref_ice,fracTerLic,u_wind,v_wind,phi,ph,p,skt,t, &
    911                        sh,rh,tca,cca,mr_lsliq,mr_lsice,fl_lsrainI,fl_lssnowI, &
     
    117119  integer :: ii,idayref
    118120  real    :: zjulian,zstoday,zstomth,zstohf,zout,ecrit_day,ecrit_hf,ecrit_mth
     121  logical :: ok_mensuelCOSP,ok_journeCOSP,ok_hfCOSP
    119122  integer :: nhori,nvert,nvertp,nvertisccp,nvertm,nvertcol
    120123  integer, save :: nid_day_cosp,nid_mth_cosp,nid_hf_cosp
     
    326329        enddo
    327330
     331 if (ok_mensuelCOSP) then
    328332     include "ini_histmthCOSP.h"
     333 endif
     334 if (ok_journeCOSP) then
    329335     include "ini_histdayCOSP.h"
     336 endif
     337 if (ok_hfCOSP) then
    330338     include "ini_histhfCOSP.h"
    331 
     339 endif
    332340
    333341!   print*,'Fin Initialisation des sorties COSP, debut_cosp =',debut_cosp
     
    446454   enddo
    447455
     456 if (ok_mensuelCOSP) then
    448457  include "write_histmthCOSP.h"
     458 endif
     459 if (ok_journeCOSP) then
    449460  include "write_histdayCOSP.h"
     461 endif
     462 if (ok_hfCOSP ) then
    450463  include "write_histhfCOSP.h"
    451 
     464 endif
    452465
    453466!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  • LMDZ4/trunk/libf/phylmd/clesphys.h

    r1352 r1368  
    6363       REAL freq_ISCCP, ecrit_ISCCP
    6464       REAL freq_COSP
    65        LOGICAL :: ok_cosp
     65       LOGICAL :: ok_cosp,ok_mensuelCOSP,ok_journeCOSP,ok_hfCOSP
    6666       INTEGER :: ip_ebil_phy, iflag_rrtm
    6767       LOGICAL :: ok_strato
     
    7979     &     , pasphys, freq_outNMC, freq_calNMC                          &
    8080     &     , type_run, ok_isccp, ok_regdyn, ok_cosp                     &
     81     &     , ok_mensuelCOSP,ok_journeCOSP,ok_hfCOSP                     &
    8182     &     , lonmin_ins, lonmax_ins, latmin_ins, latmax_ins             &
    8283     &     , ecrit_ins, ecrit_hf, ecrit_hf2mth, ecrit_day               &
  • LMDZ4/trunk/libf/phylmd/conf_phys.F90

    r1355 r1368  
    143143  LOGICAL,SAVE :: ok_isccp_omp
    144144  LOGICAL,SAVE :: ok_cosp_omp
     145  LOGICAL,SAVE :: ok_mensuelCOSP_omp,ok_journeCOSP_omp,ok_hfCOSP_omp
    145146  REAL,SAVE :: lonmin_ins_omp, lonmax_ins_omp, latmin_ins_omp, latmax_ins_omp
    146147  REAL,SAVE :: ecrit_hf_omp, ecrit_day_omp, ecrit_mth_omp, ecrit_reg_omp
     
    11391140  ok_cosp_omp = .false.
    11401141  call getin('ok_cosp',ok_cosp_omp)
     1142
     1143!
     1144!Config Key  = ok_mensuelCOSP
     1145!Config Desc =
     1146!Config Def  = .true.
     1147!Config Help =
     1148!
     1149  ok_mensuelCOSP_omp = .true.
     1150  call getin('ok_mensuelCOSP',ok_mensuelCOSP_omp)
     1151
     1152!
     1153!Config Key  = ok_journeCOSP
     1154!Config Desc =
     1155!Config Def  = .true.
     1156!Config Help =
     1157!
     1158  ok_journeCOSP_omp = .true.
     1159  call getin('ok_journeCOSP',ok_journeCOSP_omp)
     1160
     1161!
     1162!Config Key  = ok_hfCOSP
     1163!Config Desc =
     1164!Config Def  = .false.
     1165!Config Help =
     1166!
     1167  ok_hfCOSP_omp = .false.
     1168  call getin('ok_hfCOSP',ok_hfCOSP_omp)
    11411169
    11421170!
     
    14931521    ok_isccp = ok_isccp_omp
    14941522    ok_cosp = ok_cosp_omp
     1523    ok_mensuelCOSP = ok_mensuelCOSP_omp
     1524    ok_journeCOSP = ok_journeCOSP_omp
     1525    ok_hfCOSP = ok_hfCOSP_omp
    14951526    seuil_inversion=seuil_inversion_omp
    14961527    lonmin_ins = lonmin_ins_omp
     
    16421673  write(numout,*)' ok_isccp = ',ok_isccp
    16431674  write(numout,*)' ok_cosp = ',ok_cosp
     1675  write(numout,*)' ok_mensuelCOSP = ',ok_mensuelCOSP
     1676  write(numout,*)' ok_journeCOSP = ',ok_journeCOSP
     1677  write(numout,*)' ok_hfCOSP =',ok_hfCOSP
    16441678  write(numout,*)' solarlong0 = ', solarlong0
    16451679  write(numout,*)' qsol0 = ', qsol0
  • LMDZ4/trunk/libf/phylmd/phys_output_mod.F90

    r1337 r1368  
    470470  type(ctrl_out),save :: o_dnwd         = ctrl_out((/ 4, 10, 10, 10, 10 /),'dnwd')
    471471  type(ctrl_out),save :: o_dnwd0        = ctrl_out((/ 4, 10, 10, 10, 10 /),'dnwd0')
    472   type(ctrl_out),save :: o_mc           = ctrl_out((/ 4, 10, 10, 10, 10 /),'mc')
     472  type(ctrl_out),save :: o_mc           = ctrl_out((/ 4, 5, 10, 10, 10 /),'mc')
    473473  type(ctrl_out),save :: o_ftime_con    = ctrl_out((/ 4, 10, 10, 10, 10 /),'ftime_con')
    474474  type(ctrl_out),save :: o_dtdyn        = ctrl_out((/ 4, 10, 10, 10, 1 /),'dtdyn')
  • LMDZ4/trunk/libf/phylmd/physiq.F

    r1355 r1368  
    21432143
    21442144          ELSE ! ok_cvl
     2145
    21452146c MAF conema3 ne contient pas les traceurs
    21462147          CALL conema3 (dtime,
     
    32453246!     s        ref_liq,ref_ice
    32463247          call phys_cosp(itap,dtime,freq_cosp,
    3247      $                 ecrit_mth,ecrit_day,ecrit_hf,overlap,
    3248      $                   klon,klev,rlon,rlat,presnivs,
     3248     $                   ok_mensuelCOSP,ok_journeCOSP,ok_hfCOSP,
     3249     $                   ecrit_mth,ecrit_day,ecrit_hf,
     3250     $                   klon,klev,rlon,rlat,presnivs,overlap,
    32493251     $                   ref_liq,ref_ice,
    32503252     $                   pctsrf(:,is_ter)+pctsrf(:,is_lic),
Note: See TracChangeset for help on using the changeset viewer.