LMDZ
ini_histday_seri.h
Go to the documentation of this file.
1 !
2 ! $Id: ini_histday_seri.h 2344 2015-08-21 07:23:13Z emillour $
3 !
4 !ym Ne fonctionnera pas en mode parallele
5  IF (is_sequential) THEN
6 
7  IF (type_run.EQ."AMIP") THEN
8 !
9  zstophy = pdtphys
10  zout = ecrit_day
11 !
13  CALL ymds2ju(annee_ref, 1, idayref, 0.0, zjulian)
14 !
16  DO i = 1, nbp_lon
17  zx_lon(i,1) = rlon(i+1)
18  zx_lon(i,nbp_lat) = rlon(i+1)
19  ENDDO
20  DO ll=1,klev
21  znivsig(ll)=REAL(ll)
22  ENDDO
23  CALL gr_fi_ecrit(1,klon,nbp_lon,nbp_lat,rlat,zx_lat)
24 !
25  imin_debut=1
26  nbpti=1
27  jmin_debut=1
28  nbptj=1
29 !
30  CALL histbeg("histday_seri.nc", &
31  nbp_lon,zx_lon(:,1),nbp_lat,zx_lat(1,:), &
32  imin_debut,nbpti,jmin_debut,nbptj, &
34  nhori, nid_day_seri)
35 !
36  CALL histvert(nid_day_seri, "presnivs", &
37  "Vertical levels","mb", &
38  klev, presnivs/100., nvert)
39 !
40  CALL histdef(nid_day_seri, "bilTOA", &
41  "Net radiation at model top", "W/m2", &
42  nbp_lon,nbp_lat,nhori, 1,1,1, -99, 32, &
43  "ave(X)", zstophy,zout)
44 !
45  CALL histdef(nid_day_seri, "bils", &
46  "Net downward energy flux at surface","W/m2", &
47  nbp_lon,nbp_lat,nhori, 1,1,1, -99, 32, &
48  "ave(X)", zstophy,zout)
49 !
50  CALL histdef(nid_day_seri, "ecin", &
51  "Total kinetic energy (per unit area)","J/m2", &
52  nbp_lon,nbp_lat,nhori, 1,1,1, -99, 32, &
53  "ave(X)", zstophy,zout)
54 !
55 !IM 151004 BEG
56  IF(1.EQ.0) THEN
57 !
58  CALL histdef(nid_day_seri, "momang", &
59  "Total relative angular momentum (per unit area)", &
60  "kg/s", &
61  nbp_lon,nbp_lat,nhori, 1,1,1, -99, 32, &
62  "ave(X)", zstophy,zout)
63 !
64  CALL histdef(nid_day_seri, "frictor", &
65  "Friction torque (per unit area)", "N/m", &
66  nbp_lon,nbp_lat,nhori, 1,1,1, -99, 32, &
67  "ave(X)", zstophy,zout)
68 !
69  CALL histdef(nid_day_seri, "mountor", &
70  "Mountain torque (per unit area)", "N/m", &
71  nbp_lon,nbp_lat,nhori, 1,1,1, -99, 32, &
72  "ave(X)", zstophy,zout)
73 !
74  ENDIF !(1.EQ.0) THEN
75 !
76  CALL histdef(nid_day_seri, "momang", &
77  "Axial angular momentum (per unit area)", &
78  "kg/s", &
79  nbp_lon,nbp_lat,nhori, 1,1,1, -99, 32, &
80  "ave(X)", zstophy,zout)
81 !
82  CALL histdef(nid_day_seri, "torsfc", &
83  "Total surface torque (including mountain torque)", "N/m", &
84  nbp_lon,nbp_lat,nhori, 1,1,1, -99, 32, &
85  "ave(X)", zstophy,zout)
86 !
87 !IM 151004 END
88 !
89  CALL histdef(nid_day_seri, "tamv", &
90  "Temperature (mass-weighted vert. ave)", "K", &
91  nbp_lon,nbp_lat,nhori, 1,1,1, -99, 32, &
92  "ave(X)", zstophy,zout)
93 !
94  CALL histdef(nid_day_seri, "psol", &
95  "Surface pressure", "Pa", &
96  nbp_lon,nbp_lat,nhori, 1,1,1, -99, 32, &
97  "ave(X)", zstophy,zout)
98 !
99  CALL histdef(nid_day_seri, "evap", &
100  "Evaporation and sublimation (per unit area)", &
101  "kg/(m2*s)", &
102  nbp_lon,nbp_lat,nhori, 1,1,1, -99, 32, &
103  "ave(X)", zstophy,zout)
104 !
105 ! call histdef(nid_day_seri,
106 ! . "SnowFrac",
107 ! . "Snow-covered area ", "%",
108 ! . nbp_lon,nbp_lat,nhori, 1,1,1, -99, 32,
109 ! . "ave(X)", zstophy,zout)
110 !
111 ! CALL histdef(nid_day_seri, "snow_depth",
112 !IM 080904 . "Snow Depth (water equivalent)", "m",
113 !IM 191104 . "Snow Depth (water equivalent)", "kg/m2",
114 ! . "Snow Mass", "kg/m2",
115 ! . nbp_lon,nbp_lat,nhori, 1,1,1, -99, 32,
116 ! . "ave(X)", zstophy,zout)
117 !
118  call histdef(nid_day_seri, &
119  "tsol_"//clnsurf(is_oce), &
120  "SST over open (ice-free) ocean ", "K", &
121  nbp_lon,nbp_lat,nhori, 1,1,1, -99, 32, &
122  "ave(X)", zstophy,zout)
123 !
124 !=================================================================
125 !
126  CALL histend(nid_day_seri)
127 !
128 !=================================================================
129  ENDIF ! fin de test sur type_run.EQ.AMIP
130 
131  ENDIF ! is_sequential
INTERFACE SUBROUTINE RRTM_ECRT_140GP klon
c c $Id
Definition: ini_bilKP_ave.h:11
!$Id zjulian!correction pour l heure initiale!jyg!jyg CALL ymds2ju(annee_ref, 1, day_ref, hour, zjulian)!jyg CALL histbeg_phy("histrac"
real, dimension(:), allocatable, save bils
c c zjulian c cym CALL iim cym klev cym zjulian
Definition: ini_bilKP_ave.h:26
integer, dimension(3), save nvert
!$Id ok_orolf LOGICAL ok_limitvrai LOGICAL ok_all_xml INTEGER iflag_ener_conserv REAL solaire REAL(kind=8) RCO2
!$Header!integer nvarmx dtime
Definition: gradsdef.h:20
c c zjulian c cym CALL iim cym klev cym cym nhori
Definition: ini_bilKP_ave.h:26
!$Id zjulian!CALL gr_fi_ecrit(1, klon, nbp_lon, nbp_lat, rlon, zx_lon) DO i
integer, save klev
Definition: dimphy.F90:7
!$Id itau_phy
Definition: temps.h:15
!$Id klon initialisation mois suivants day_rain itap ENDIF!Calcul fin de nday_rain calcul nday_rain itap DO i
Definition: calcul_divers.h:24
real, dimension(:,:), pointer, save ecin
Definition: caldyn_mod.F90:11
!$Id vert_prof_dissip LOGICAL lstardis INTEGER niterh integer vert_prof_dissip!vertical profile of horizontal dissipation!Allowed function of pressure
Definition: comdissnew.h:13
!$Id klon IF(pctsrf(i, is_ter).GT.0.) THEN paire_ter(i)
c c zjulian c cym CALL iim cym klev znivsig(ll)
!$Id zjulian!correction pour l heure initiale!jyg!jyg CALL nid_tra CALL histvert(nid_tra,"presnivs","Vertical levels","Pa", klev, presnivs, nvert,"down") zsto
!$Id day_ref
Definition: temps.h:15
real, dimension(:), allocatable, save evap
!$Id La frequence de sortie REGDYN est ecrit_mth c iwmax il faut mettre la meme valeur pour c zout et zsto c dtime est passe par ailleurs a histbeg c c zout
!$Id zjulian!CALL nbp_lon zx_lon(i, 1)
c c $Id c nbregdyn DO klon c rlat(i) c ENDIF!lon c ENDIF!lat ENDIF!pctsrf ENDDO!klon ENDDO!nbregdyn cIM 190504 ENDIF!ok_regdyn cIM somme de toutes les nhistoW BEG IF(debut) THEN DO nreg
c c zjulian c cym CALL iim cym klev iim cym jjmp1 cym On stoke le fichier bilKP instantanne sur
Definition: ini_bilKP_ins.h:41
!$Id Turb_fcg!implicit none!ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc!cette routine permet d obtenir hq et ainsi de!pouvoir calculer la convergence et le cisaillement dans la physiq!cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc INTEGER klev REAL ll
Definition: 1Dconv.h:27
!$Id zjulian!correction pour l heure initiale!jyg!jyg CALL pdtphys
Definition: ini_histrac.h:11
!$Id idayref
c c zjulian c cym CALL iim cym klev * zx_lat
Definition: ini_bilKP_ave.h:23
real(kind=8), dimension(8, 3), parameter at
do llm!au dessus de
c c zjulian c cym CALL iim cym klev iim cym jjmp1 cym On stoke le fichier bilKP instantanne s jmax_ins print On stoke le fichier bilKP instantanne s s cym cym nid_bilKPins ENDIF c cIM BEG c cIM cf AM BEG region cym CALL histbeg("histbilKP_ins", iim, zx_lon(:, 1), cym.jjmp1, zx_lat(1,:), cym.imin_ins, imax_ins-imin_ins+1, cym.jmin_ins, jmax_ins-jmin_ins+1, cym.itau_phy, zjulian, dtime, cym.nhori, nid_bilKPins) CALL histbeg_phy("histbilKP_ins"
!$Id klon klev DO klon!IM klev DO klon klon nbp_lat DO nbp_lon klev airetot klev!IM END!IM mountor
logical, save is_sequential
!$Header!integer nvarmx s s unit
Definition: gradsdef.h:20
c c $Id c nbregdyn DO klon c rlon(i)
real, dimension(:), allocatable, save presnivs
!$Id annee_ref
Definition: temps.h:15