[1862] | 1 | ! |
---|
| 2 | ! $Id: ini_histday_seri.h 2399 2015-11-20 16:23:28Z musat $ |
---|
| 3 | ! |
---|
| 4 | !ym Ne fonctionnera pas en mode parallele |
---|
[776] | 5 | IF (is_sequential) THEN |
---|
[766] | 6 | |
---|
[644] | 7 | IF (type_run.EQ."AMIP") THEN |
---|
[1862] | 8 | ! |
---|
[2344] | 9 | zstophy = pdtphys |
---|
[684] | 10 | zout = ecrit_day |
---|
[1862] | 11 | ! |
---|
[644] | 12 | idayref = day_ref |
---|
| 13 | CALL ymds2ju(annee_ref, 1, idayref, 0.0, zjulian) |
---|
[1862] | 14 | ! |
---|
[2399] | 15 | CALL gr_fi_ecrit(1,klon,nbp_lon,nbp_lat,longitude_deg,zx_lon) |
---|
[2344] | 16 | DO i = 1, nbp_lon |
---|
[2399] | 17 | zx_lon(i,1) = longitude_deg(i+1) |
---|
| 18 | zx_lon(i,nbp_lat) = longitude_deg(i+1) |
---|
[644] | 19 | ENDDO |
---|
| 20 | DO ll=1,klev |
---|
[1403] | 21 | znivsig(ll)=REAL(ll) |
---|
[644] | 22 | ENDDO |
---|
[2399] | 23 | CALL gr_fi_ecrit(1,klon,nbp_lon,nbp_lat,latitude_deg,zx_lat) |
---|
[1862] | 24 | ! |
---|
[644] | 25 | imin_debut=1 |
---|
| 26 | nbpti=1 |
---|
| 27 | jmin_debut=1 |
---|
| 28 | nbptj=1 |
---|
[1862] | 29 | ! |
---|
| 30 | CALL histbeg("histday_seri.nc", & |
---|
[2344] | 31 | nbp_lon,zx_lon(:,1),nbp_lat,zx_lat(1,:), & |
---|
[1862] | 32 | imin_debut,nbpti,jmin_debut,nbptj, & |
---|
| 33 | itau_phy, zjulian, dtime, & |
---|
| 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", & |
---|
[2344] | 42 | nbp_lon,nbp_lat,nhori, 1,1,1, -99, 32, & |
---|
[1862] | 43 | "ave(X)", zstophy,zout) |
---|
| 44 | ! |
---|
| 45 | CALL histdef(nid_day_seri, "bils", & |
---|
| 46 | "Net downward energy flux at surface","W/m2", & |
---|
[2344] | 47 | nbp_lon,nbp_lat,nhori, 1,1,1, -99, 32, & |
---|
[1862] | 48 | "ave(X)", zstophy,zout) |
---|
| 49 | ! |
---|
| 50 | CALL histdef(nid_day_seri, "ecin", & |
---|
| 51 | "Total kinetic energy (per unit area)","J/m2", & |
---|
[2344] | 52 | nbp_lon,nbp_lat,nhori, 1,1,1, -99, 32, & |
---|
[1862] | 53 | "ave(X)", zstophy,zout) |
---|
| 54 | ! |
---|
| 55 | !IM 151004 BEG |
---|
[644] | 56 | IF(1.EQ.0) THEN |
---|
[1862] | 57 | ! |
---|
| 58 | CALL histdef(nid_day_seri, "momang", & |
---|
| 59 | "Total relative angular momentum (per unit area)", & |
---|
| 60 | "kg/s", & |
---|
[2344] | 61 | nbp_lon,nbp_lat,nhori, 1,1,1, -99, 32, & |
---|
[1862] | 62 | "ave(X)", zstophy,zout) |
---|
| 63 | ! |
---|
| 64 | CALL histdef(nid_day_seri, "frictor", & |
---|
| 65 | "Friction torque (per unit area)", "N/m", & |
---|
[2344] | 66 | nbp_lon,nbp_lat,nhori, 1,1,1, -99, 32, & |
---|
[1862] | 67 | "ave(X)", zstophy,zout) |
---|
| 68 | ! |
---|
| 69 | CALL histdef(nid_day_seri, "mountor", & |
---|
| 70 | "Mountain torque (per unit area)", "N/m", & |
---|
[2344] | 71 | nbp_lon,nbp_lat,nhori, 1,1,1, -99, 32, & |
---|
[1862] | 72 | "ave(X)", zstophy,zout) |
---|
| 73 | ! |
---|
[644] | 74 | ENDIF !(1.EQ.0) THEN |
---|
[1862] | 75 | ! |
---|
| 76 | CALL histdef(nid_day_seri, "momang", & |
---|
| 77 | "Axial angular momentum (per unit area)", & |
---|
| 78 | "kg/s", & |
---|
[2344] | 79 | nbp_lon,nbp_lat,nhori, 1,1,1, -99, 32, & |
---|
[1862] | 80 | "ave(X)", zstophy,zout) |
---|
| 81 | ! |
---|
| 82 | CALL histdef(nid_day_seri, "torsfc", & |
---|
| 83 | "Total surface torque (including mountain torque)", "N/m", & |
---|
[2344] | 84 | nbp_lon,nbp_lat,nhori, 1,1,1, -99, 32, & |
---|
[1862] | 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", & |
---|
[2344] | 91 | nbp_lon,nbp_lat,nhori, 1,1,1, -99, 32, & |
---|
[1862] | 92 | "ave(X)", zstophy,zout) |
---|
| 93 | ! |
---|
| 94 | CALL histdef(nid_day_seri, "psol", & |
---|
| 95 | "Surface pressure", "Pa", & |
---|
[2344] | 96 | nbp_lon,nbp_lat,nhori, 1,1,1, -99, 32, & |
---|
[1862] | 97 | "ave(X)", zstophy,zout) |
---|
| 98 | ! |
---|
| 99 | CALL histdef(nid_day_seri, "evap", & |
---|
| 100 | "Evaporation and sublimation (per unit area)", & |
---|
| 101 | "kg/(m2*s)", & |
---|
[2344] | 102 | nbp_lon,nbp_lat,nhori, 1,1,1, -99, 32, & |
---|
[1862] | 103 | "ave(X)", zstophy,zout) |
---|
| 104 | ! |
---|
| 105 | ! call histdef(nid_day_seri, |
---|
| 106 | ! . "SnowFrac", |
---|
| 107 | ! . "Snow-covered area ", "%", |
---|
[2344] | 108 | ! . nbp_lon,nbp_lat,nhori, 1,1,1, -99, 32, |
---|
[1862] | 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", |
---|
[2344] | 115 | ! . nbp_lon,nbp_lat,nhori, 1,1,1, -99, 32, |
---|
[1862] | 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", & |
---|
[2344] | 121 | nbp_lon,nbp_lat,nhori, 1,1,1, -99, 32, & |
---|
[1862] | 122 | "ave(X)", zstophy,zout) |
---|
| 123 | ! |
---|
| 124 | !================================================================= |
---|
| 125 | ! |
---|
[644] | 126 | CALL histend(nid_day_seri) |
---|
[1862] | 127 | ! |
---|
| 128 | !================================================================= |
---|
[644] | 129 | ENDIF ! fin de test sur type_run.EQ.AMIP |
---|
[766] | 130 | |
---|
[776] | 131 | ENDIF ! is_sequential |
---|