[3] | 1 | ! |
---|
| 2 | ! $Header: /home/cvsroot/LMDZ4/libf/phylmd/write_histday.h,v 1.2 2004/06/01 09:27:10 lmdzadmin Exp $ |
---|
| 3 | ! |
---|
| 4 | IF (ok_journe) THEN |
---|
| 5 | |
---|
| 6 | itau_w = itau_phy + itap |
---|
| 7 | |
---|
| 8 | c------------------------------------------------------- |
---|
| 9 | IF(lev_histday.GE.1) THEN |
---|
[892] | 10 | |
---|
[3] | 11 | ccccccccccccc 2D fields, basics |
---|
[892] | 12 | |
---|
| 13 | call histwrite_phy(nid_day,.false.,"phis",itau_w,pphis) |
---|
| 14 | call histwrite_phy(nid_day,.false.,"aire",itau_w,airephy) |
---|
| 15 | call histwrite_phy(nid_day,.false.,"tsol",itau_w,ftsol) |
---|
| 16 | call histwrite_phy(nid_day,.false.,"psol",itau_w,paprs(:,1)) |
---|
| 17 | c call histwrite_phy(nid_day,.false.,"ue",itau_w,ue) |
---|
| 18 | c VENUS: regardee a l'envers!!!!!!!!!!!!!!! |
---|
| 19 | c call histwrite_phy(nid_day,.false.,"ve",itau_w,-1.*ve) |
---|
| 20 | c call histwrite_phy(nid_day,.false.,"cdragh",itau_w,cdragh) |
---|
| 21 | c call histwrite_phy(nid_day,.false.,"cdragm",itau_w,cdragm) |
---|
| 22 | |
---|
[3] | 23 | ENDIF !lev_histday.GE.1 |
---|
[892] | 24 | |
---|
[3] | 25 | c------------------------------------------------------- |
---|
| 26 | IF(lev_histday.GE.2) THEN |
---|
[892] | 27 | |
---|
[3] | 28 | ccccccccccccc 3D fields, basics |
---|
[892] | 29 | |
---|
| 30 | call histwrite_phy(nid_day,.false.,"temp",itau_w,t_seri) |
---|
| 31 | call histwrite_phy(nid_day,.false.,"pres",itau_w,pplay) |
---|
| 32 | call histwrite_phy(nid_day,.false.,"geop",itau_w,zphi) |
---|
| 33 | call histwrite_phy(nid_day,.false.,"vitu",itau_w,u_seri) |
---|
| 34 | c VENUS: regardee a l'envers!!!!!!!!!!!!!!! |
---|
| 35 | call histwrite_phy(nid_day,.false.,"vitv",itau_w,-1.*v_seri) |
---|
| 36 | call histwrite_phy(nid_day,.false.,"vitw",itau_w,omega) |
---|
| 37 | c en (m/s)/s |
---|
| 38 | call histwrite_phy(nid_day,.false.,"dudyn",itau_w,d_u_dyn) |
---|
| 39 | c en (m/s)/s |
---|
| 40 | call histwrite_phy(nid_day,.false.,"duvdf",itau_w,d_u_vdf) |
---|
| 41 | c call histwrite_phy(nid_day,.false.,"mang",itau_w,mang) |
---|
| 42 | c call histwrite_phy(nid_day,.false.,"Kz",itau_w,ycoefh) |
---|
| 43 | |
---|
| 44 | c plusieurs traceurs |
---|
| 45 | IF (iflag_trac.eq.1) THEN |
---|
| 46 | DO iq=1,nqmax |
---|
| 47 | call histwrite_phy(nid_day,.false.,tname(iq),itau_w,qx(:,:,iq)) |
---|
| 48 | ENDDO |
---|
| 49 | ENDIF |
---|
| 50 | |
---|
| 51 | call histwrite_phy(nid_day,.false.,"tops",itau_w,topsw) |
---|
| 52 | |
---|
[3] | 53 | ENDIF !lev_histday.GE.2 |
---|
[902] | 54 | |
---|
[3] | 55 | c------------------------------------------------------- |
---|
| 56 | IF(lev_histday.GE.3) THEN |
---|
[902] | 57 | |
---|
[3] | 58 | cccccccccccccccccc Radiative transfer |
---|
[892] | 59 | |
---|
[3] | 60 | c 2D |
---|
[892] | 61 | |
---|
| 62 | call histwrite_phy(nid_day,.false.,"topl",itau_w,toplw) |
---|
| 63 | call histwrite_phy(nid_day,.false.,"sols",itau_w,solsw) |
---|
| 64 | call histwrite_phy(nid_day,.false.,"soll",itau_w,sollw) |
---|
| 65 | |
---|
[3] | 66 | c 3D |
---|
[892] | 67 | |
---|
| 68 | call histwrite_phy(nid_day,.false.,"SWnet",itau_w,swnet) |
---|
| 69 | call histwrite_phy(nid_day,.false.,"LWnet",itau_w,lwnet) |
---|
| 70 | c call histwrite_phy(nid_day,.false.,"fluxvdf",itau_w,fluxt) |
---|
| 71 | c call histwrite_phy(nid_day,.false.,"fluxdyn",itau_w,flux_dyn) |
---|
| 72 | c call histwrite_phy(nid_day,.false.,"fluxajs",itau_w,flux_ajs) |
---|
| 73 | c call histwrite_phy(nid_day,.false.,"fluxec",itau_w,flux_ec) |
---|
| 74 | |
---|
[3] | 75 | ENDIF !lev_histday.GE.3 |
---|
[902] | 76 | |
---|
[3] | 77 | c------------------------------------------------------- |
---|
| 78 | IF(lev_histday.GE.4) THEN |
---|
[892] | 79 | |
---|
[3] | 80 | c en K/s |
---|
[892] | 81 | call histwrite_phy(nid_day,.false.,"dtdyn",itau_w,d_t_dyn) |
---|
[3] | 82 | c en K/s |
---|
[892] | 83 | c call histwrite_phy(nid_day,.false.,"dtphy",itau_w,d_t) |
---|
[3] | 84 | c en K/s |
---|
[892] | 85 | call histwrite_phy(nid_day,.false.,"dtvdf",itau_w,d_t_vdf) |
---|
[3] | 86 | c en K/s |
---|
[892] | 87 | call histwrite_phy(nid_day,.false.,"dtajs",itau_w,d_t_ajs) |
---|
[3] | 88 | c K/day ==> K/s |
---|
[892] | 89 | call histwrite_phy(nid_day,.false.,"dtswr",itau_w,heat/RDAY) |
---|
[3] | 90 | c K/day ==> K/s |
---|
[892] | 91 | call histwrite_phy(nid_day,.false.,"dtlwr",itau_w,-1.*cool/RDAY) |
---|
[3] | 92 | c en K/s |
---|
[892] | 93 | c call histwrite_phy(nid_day,.false.,"dtec",itau_w,d_t_ec) |
---|
[3] | 94 | c en (m/s)/s |
---|
[892] | 95 | call histwrite_phy(nid_day,.false.,"duajs",itau_w,d_u_ajs) |
---|
[3] | 96 | c en (m/s)/s |
---|
[892] | 97 | call histwrite_phy(nid_day,.false.,"dugwo",itau_w,d_u_oro) |
---|
[3] | 98 | c en (m/s)/s |
---|
[892] | 99 | call histwrite_phy(nid_day,.false.,"dugwno",itau_w,d_u_hin) |
---|
[3] | 100 | c en (m/s)/s |
---|
| 101 | c VENUS: regardee a l'envers!!!!!!!!!!!!!!! |
---|
[892] | 102 | c call histwrite_phy(nid_day,.false.,"dvvdf",itau_w,-1.*d_v_vdf) |
---|
| 103 | |
---|
[3] | 104 | ENDIF !lev_histday.GE.4 |
---|
[902] | 105 | |
---|
[3] | 106 | c------------------------------------------------------- |
---|
| 107 | IF(lev_histday.GE.5) THEN |
---|
[892] | 108 | |
---|
| 109 | c call histwrite_phy(nid_day,.false.,"taux_",itau_w,fluxu) |
---|
| 110 | c call histwrite_phy(nid_day,.false.,"tauy_",itau_w,fluxv) |
---|
| 111 | c call histwrite_phy(nid_day,.false.,"cdrm",itau_w,cdragm) |
---|
| 112 | c call histwrite_phy(nid_day,.false.,"cdrh",itau_w,cdragh) |
---|
| 113 | |
---|
[3] | 114 | ENDIF !lev_histday.GE.5 |
---|
| 115 | c------------------------------------------------------- |
---|
[902] | 116 | |
---|
[3] | 117 | if (ok_sync) then |
---|
| 118 | call histsync(nid_day) |
---|
| 119 | endif |
---|
| 120 | |
---|
| 121 | ENDIF |
---|