Changeset 1486 for LMDZ5/branches
- Timestamp:
- Feb 11, 2011, 1:07:39 PM (14 years ago)
- Location:
- LMDZ5/branches/LMDZ5V2.0-dev/libf
- Files:
-
- 4 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/LMDZ5V2.0-dev/libf/dyn3d/etat0_netcdf.F90
r1425 r1486 98 98 REAL :: dummy 99 99 LOGICAL :: ok_newmicro, ok_journe, ok_mensuel, ok_instan, ok_hf 100 LOGICAL :: ok_LES, ok_ade, ok_aie, aerosol_couple, new_aod 100 LOGICAL :: ok_LES, ok_ade, ok_aie, aerosol_couple, new_aod, callstats 101 101 INTEGER :: iflag_radia, flag_aerosol 102 102 REAL :: bl95_b0, bl95_b1, fact_cldcon, facttemps, ratqsbas, ratqshaut … … 130 130 !--- CONSTRUCT A GRID 131 131 CALL conf_phys( ok_journe, ok_mensuel, ok_instan, ok_hf, ok_LES, & 132 callstats, & 132 133 solarlong0,seuil_inversion, & 133 134 fact_cldcon, facttemps,ok_newmicro,iflag_radia, & -
LMDZ5/branches/LMDZ5V2.0-dev/libf/dyn3dpar/etat0_netcdf.F90
r1425 r1486 98 98 REAL :: dummy 99 99 LOGICAL :: ok_newmicro, ok_journe, ok_mensuel, ok_instan, ok_hf 100 LOGICAL :: ok_LES, ok_ade, ok_aie, aerosol_couple, new_aod 100 LOGICAL :: ok_LES, ok_ade, ok_aie, aerosol_couple, new_aod, callstats 101 101 INTEGER :: iflag_radia, flag_aerosol 102 102 REAL :: bl95_b0, bl95_b1, fact_cldcon, facttemps, ratqsbas, ratqshaut … … 130 130 !--- CONSTRUCT A GRID 131 131 CALL conf_phys( ok_journe, ok_mensuel, ok_instan, ok_hf, ok_LES, & 132 callstats, & 132 133 solarlong0,seuil_inversion, & 133 134 fact_cldcon, facttemps,ok_newmicro,iflag_radia, & -
LMDZ5/branches/LMDZ5V2.0-dev/libf/phylmd/conf_phys.F90
r1423 r1486 13 13 subroutine conf_phys(ok_journe, ok_mensuel, ok_instan, ok_hf, & 14 14 ok_LES,& 15 callstats,& 15 16 solarlong0,seuil_inversion, & 16 17 fact_cldcon, facttemps,ok_newmicro,iflag_radia,& … … 66 67 logical :: ok_journe, ok_mensuel, ok_instan, ok_hf 67 68 logical :: ok_LES 69 LOGICAL :: callstats 68 70 LOGICAL :: ok_ade, ok_aie, aerosol_couple 69 71 INTEGER :: flag_aerosol … … 79 81 logical,SAVE :: ok_journe_omp, ok_mensuel_omp, ok_instan_omp, ok_hf_omp 80 82 logical,SAVE :: ok_LES_omp 83 LOGICAL,SAVE :: callstats_omp 81 84 LOGICAL,SAVE :: ok_ade_omp, ok_aie_omp, aerosol_couple_omp 82 85 INTEGER, SAVE :: flag_aerosol_omp … … 1418 1421 ok_LES_omp = .false. 1419 1422 call getin('OK_LES', ok_LES_omp) 1423 1424 !Config Key = callstats 1425 !Config Desc = Pour des sorties callstats 1426 !Config Def = .false. 1427 !Config Help = Pour creer le fichier stats contenant les sorties 1428 ! stats 1429 ! 1430 callstats_omp = .false. 1431 call getin('callstats', callstats_omp) 1420 1432 ! 1421 1433 !Config Key = ecrit_LES … … 1581 1593 ok_hines = ok_hines_omp 1582 1594 ok_LES = ok_LES_omp 1595 callstats = callstats_omp 1583 1596 ecrit_LES = ecrit_LES_omp 1584 1597 carbon_cycle_tr = carbon_cycle_tr_omp -
LMDZ5/branches/LMDZ5V2.0-dev/libf/phylmd/physiq.F
r1466 r1486 158 158 save ok_LES 159 159 c$OMP THREADPRIVATE(ok_LES) 160 c 161 LOGICAL callstats ! sortir le fichier stats 162 save callstats 163 c$OMP THREADPRIVATE(callstats) 160 164 c 161 165 LOGICAL ok_region ! sortir le fichier regional … … 1150 1154 ! and 360 1151 1155 1156 INTEGER ierr 1152 1157 #include "YOMCST.h" 1153 1158 #include "YOETHF.h" … … 1222 1227 . ok_instan, ok_hf, 1223 1228 . ok_LES, 1229 . callstats, 1224 1230 . solarlong0,seuil_inversion, 1225 1231 . fact_cldcon, facttemps,ok_newmicro,iflag_radia, … … 3695 3701 c==================================================================== 3696 3702 c 3697 3703 3704 c ----------------------------------------------------------------- 3705 c WSTATS: Saving statistics 3706 c ----------------------------------------------------------------- 3707 c ("stats" stores and accumulates 8 key variables in file "stats.nc" 3708 c which can later be used to make the statistic files of the run: 3709 c "stats") only possible in 3D runs ! 3710 3711 3712 IF (callstats) THEN 3713 3714 call wstats(klon,o_psol%name,"Surface pressure","Pa" 3715 & ,2,paprs(:,1)) 3716 call wstats(klon,o_tsol%name,"Surface temperature","K", 3717 & 2,zxtsol) 3718 zx_tmp_fi2d(:) = rain_fall(:) + snow_fall(:) 3719 call wstats(klon,o_precip%name,"Precip Totale liq+sol", 3720 & "kg/(s*m2)",2,zx_tmp_fi2d) 3721 zx_tmp_fi2d(:) = rain_lsc(:) + snow_lsc(:) 3722 call wstats(klon,o_plul%name,"Large-scale Precip", 3723 & "kg/(s*m2)",2,zx_tmp_fi2d) 3724 zx_tmp_fi2d(:) = rain_con(:) + snow_con(:) 3725 call wstats(klon,o_pluc%name,"Convective Precip", 3726 & "kg/(s*m2)",2,zx_tmp_fi2d) 3727 call wstats(klon,o_sols%name,"Solar rad. at surf.", 3728 & "W/m2",2,solsw) 3729 call wstats(klon,o_soll%name,"IR rad. at surf.", 3730 & "W/m2",2,sollw) 3731 zx_tmp_fi2d(:) = topsw(:)-toplw(:) 3732 call wstats(klon,o_nettop%name,"Net dn radiatif flux at TOA", 3733 & "W/m2",2,zx_tmp_fi2d) 3734 3735 3736 3737 call wstats(klon,o_temp%name,"Air temperature","K", 3738 & 3,t_seri) 3739 call wstats(klon,o_vitu%name,"Zonal wind","m.s-1", 3740 & 3,u_seri) 3741 call wstats(klon,o_vitv%name,"Meridional wind", 3742 & "m.s-1",3,v_seri) 3743 call wstats(klon,o_vitw%name,"Vertical wind", 3744 & "m.s-1",3,omega) 3745 call wstats(klon,o_ovap%name,"Specific humidity", "kg/kg", 3746 & 3,q_seri) 3747 3748 3749 3750 IF(lafin) THEN 3751 write (*,*) "Writing stats..." 3752 call mkstats(ierr) 3753 ENDIF 3754 3755 ENDIF !if callstats 3756 3698 3757 3699 3758 IF (lafin) THEN
Note: See TracChangeset
for help on using the changeset viewer.