Changeset 150 in lmdz_wrf
- Timestamp:
- Aug 5, 2014, 5:26:11 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/LMDZ_WRFmeas_develop/WRFV3/lmdz/physiq.F90
r149 r150 1305 1305 ! L. Fita, LMD August 2014 1306 1306 CHARACTER(LEN=50) :: errmsg, fname, varname 1307 CHARACTER(LEN=50) :: jDS, jHS 1307 1308 LOGICAL :: found 1308 1309 REAL :: largest … … 1316 1317 ! 1317 1318 CALL phys_cal_update(jD_cur,jH_cur) 1319 WRITE(jDS,'f10.5')jD_cur 1320 WRITE(jHS,'f10.5')jH_cur 1321 1322 fname = 'Entering in physic at day= '//TRIM(jDS)//' hour: '//TRIM(jHS) 1323 varname = 'paprs' 1324 CALL check_var3D(fname, varname, paprs, klon, klev+1, largest, .FALSE.) 1325 varname = 'pplay' 1326 CALL check_var3D(fname, varname, pplay, klon, klev, largest, .FALSE.) 1327 varname = 'pphi' 1328 CALL check_var3D(fname, varname, pphi, klon, klev, largest, .FALSE.) 1329 varname = 't_seri' 1330 CALL check_var3D(fname, varname, t_seri, klon, klev, largest, .FALSE.) 1331 varname = 'u_seri' 1332 CALL check_var3D(fname, varname, u_seri, klon, klev, largest, .FALSE.) 1333 varname = 'v_seri' 1334 CALL check_var3D(fname, varname, v_seri, klon, klev, largest, .FALSE.) 1335 varname = 'q_seri' 1336 CALL check_var3D(fname, varname, q_seri, klon, klev, largest, .FALSE.) 1337 1318 1338 1319 1339 !c====================================================================== … … 1855 1875 ! 1856 1876 itap = itap + 1 1877 WRITE(jDS,'I5')itap 1878 fname = 'After itap= '//TRIM(jDS) 1879 varname = 'paprs' 1880 CALL check_var3D(fname, varname, paprs, klon, klev+1, largest, .FALSE.) 1881 varname = 'pplay' 1882 CALL check_var3D(fname, varname, pplay, klon, klev, largest, .FALSE.) 1883 varname = 'pphi' 1884 CALL check_var3D(fname, varname, pphi, klon, klev, largest, .FALSE.) 1885 varname = 't_seri' 1886 CALL check_var3D(fname, varname, t_seri, klon, klev, largest, .FALSE.) 1887 varname = 'u_seri' 1888 CALL check_var3D(fname, varname, u_seri, klon, klev, largest, .FALSE.) 1889 varname = 'v_seri' 1890 CALL check_var3D(fname, varname, v_seri, klon, klev, largest, .FALSE.) 1891 varname = 'q_seri' 1892 CALL check_var3D(fname, varname, q_seri, klon, klev, largest, .FALSE.) 1893 1857 1894 !c 1858 1895 ! … … 1970 2007 END IF 1971 2008 PRINT *,' Lluis 1 d_h_vcol: ',d_h_vcol,' d_h_vcol_phy: ',d_h_vcol_phy 2009 fname = 'After dynamic' 2010 varname = 'paprs' 2011 CALL check_var3D(fname, varname, paprs, klon, klev+1, largest, .FALSE.) 2012 varname = 'pplay' 2013 CALL check_var3D(fname, varname, pplay, klon, klev, largest, .FALSE.) 2014 varname = 'pphi' 2015 CALL check_var3D(fname, varname, pphi, klon, klev, largest, .FALSE.) 2016 varname = 't_seri' 2017 CALL check_var3D(fname, varname, t_seri, klon, klev, largest, .FALSE.) 2018 varname = 'u_seri' 2019 CALL check_var3D(fname, varname, u_seri, klon, klev, largest, .FALSE.) 2020 varname = 'v_seri' 2021 CALL check_var3D(fname, varname, v_seri, klon, klev, largest, .FALSE.) 2022 varname = 'q_seri' 2023 CALL check_var3D(fname, varname, q_seri, klon, klev, largest, .FALSE.) 1972 2024 1973 2025 !c Diagnostiquer la tendance dynamique … … 2131 2183 END IF 2132 2184 PRINT *,' Lluis 2 d_h_vcol: ',d_h_vcol,' d_h_vcol_phy: ',d_h_vcol_phy 2185 fname = 'After reevap' 2186 varname = 'paprs' 2187 CALL check_var3D(fname, varname, paprs, klon, klev+1, largest, .FALSE.) 2188 varname = 'pplay' 2189 CALL check_var3D(fname, varname, pplay, klon, klev, largest, .FALSE.) 2190 varname = 'pphi' 2191 CALL check_var3D(fname, varname, pphi, klon, klev, largest, .FALSE.) 2192 varname = 't_seri' 2193 CALL check_var3D(fname, varname, t_seri, klon, klev, largest, .FALSE.) 2194 varname = 'u_seri' 2195 CALL check_var3D(fname, varname, u_seri, klon, klev, largest, .FALSE.) 2196 varname = 'v_seri' 2197 CALL check_var3D(fname, varname, v_seri, klon, klev, largest, .FALSE.) 2198 varname = 'q_seri' 2199 CALL check_var3D(fname, varname, q_seri, klon, klev, largest, .FALSE.) 2133 2200 !c 2134 2201 !c========================================================================= … … 2169 2236 ! non nul aux poles. 2170 2237 IF (abs(solarlong0-1000.)<1.e-4) then 2171 PRINT *,' Lluis calling zenang_an'2172 2238 call zenang_an(cycle_diurne,jH_cur,rlat,rlon,rmu0,fract) 2173 2239 ELSE … … 2213 2279 2214 2280 if (iflag_pbl/=0) then 2215 2216 PRINT *,' Lluis before pbl_surface qsol: ',qsol(llp), &2217 ' rmu0: ',rmu0(llp),' jH_cur: ',jH_cur2218 2281 2219 2282 CALL pbl_surface( & … … 2241 2304 & zxfluxt, zxfluxq, q2m, fluxq, pbl_tke ) 2242 2305 2243 PRINT *,' Lluis after pbl_surface qsol: ',qsol(llp), & 2244 ' rmu0: ',rmu0(llp),' jH_cur: ',jH_cur 2306 fname = 'After pbl_surface' 2307 varname = 'paprs' 2308 CALL check_var3D(fname, varname, paprs, klon, klev+1, largest, .FALSE.) 2309 varname = 'pplay' 2310 CALL check_var3D(fname, varname, pplay, klon, klev, largest, .FALSE.) 2311 varname = 'pphi' 2312 CALL check_var3D(fname, varname, pphi, klon, klev, largest, .FALSE.) 2313 varname = 't_seri' 2314 CALL check_var3D(fname, varname, t_seri, klon, klev, largest, .FALSE.) 2315 varname = 'u_seri' 2316 CALL check_var3D(fname, varname, u_seri, klon, klev, largest, .FALSE.) 2317 varname = 'v_seri' 2318 CALL check_var3D(fname, varname, v_seri, klon, klev, largest, .FALSE.) 2319 varname = 'q_seri' 2320 CALL check_var3D(fname, varname, q_seri, klon, klev, largest, .FALSE.) 2245 2321 2246 2322 !----------------------------------------------------------------------------------------- … … 2274 2350 ENDIF 2275 2351 PRINT *,' Lluis 3 d_h_vcol: ',d_h_vcol,' d_h_vcol_phy: ',d_h_vcol_phy 2352 fname = 'After surface_main' 2353 varname = 'paprs' 2354 CALL check_var3D(fname, varname, paprs, klon, klev+1, largest, .FALSE.) 2355 varname = 'pplay' 2356 CALL check_var3D(fname, varname, pplay, klon, klev, largest, .FALSE.) 2357 varname = 'pphi' 2358 CALL check_var3D(fname, varname, pphi, klon, klev, largest, .FALSE.) 2359 varname = 't_seri' 2360 CALL check_var3D(fname, varname, t_seri, klon, klev, largest, .FALSE.) 2361 varname = 'u_seri' 2362 CALL check_var3D(fname, varname, u_seri, klon, klev, largest, .FALSE.) 2363 varname = 'v_seri' 2364 CALL check_var3D(fname, varname, v_seri, klon, klev, largest, .FALSE.) 2365 varname = 'q_seri' 2366 CALL check_var3D(fname, varname, q_seri, klon, klev, largest, .FALSE.) 2367 2276 2368 !c =================================================================== c 2277 2369 !c Calcul de Qsat … … 2635 2727 !C 2636 2728 PRINT *,' Lluis 4 d_h_vcol: ',d_h_vcol,' d_h_vcol_phy: ',d_h_vcol_phy 2729 fname = 'After convection' 2730 varname = 'paprs' 2731 CALL check_var3D(fname, varname, paprs, klon, klev+1, largest, .FALSE.) 2732 varname = 'pplay' 2733 CALL check_var3D(fname, varname, pplay, klon, klev, largest, .FALSE.) 2734 varname = 'pphi' 2735 CALL check_var3D(fname, varname, pphi, klon, klev, largest, .FALSE.) 2736 varname = 't_seri' 2737 CALL check_var3D(fname, varname, t_seri, klon, klev, largest, .FALSE.) 2738 varname = 'u_seri' 2739 CALL check_var3D(fname, varname, u_seri, klon, klev, largest, .FALSE.) 2740 varname = 'v_seri' 2741 CALL check_var3D(fname, varname, v_seri, klon, klev, largest, .FALSE.) 2742 varname = 'q_seri' 2743 CALL check_var3D(fname, varname, q_seri, klon, klev, largest, .FALSE.) 2744 2637 2745 IF (check) THEN 2638 2746 za = qcheck(klon,klev,paprs,q_seri,ql_seri,airephy) … … 2748 2856 END IF 2749 2857 PRINT *,' Lluis 5 d_h_vcol: ',d_h_vcol,' d_h_vcol_phy: ',d_h_vcol_phy 2858 fname = 'After wakes' 2859 varname = 'paprs' 2860 CALL check_var3D(fname, varname, paprs, klon, klev+1, largest, .FALSE.) 2861 varname = 'pplay' 2862 CALL check_var3D(fname, varname, pplay, klon, klev, largest, .FALSE.) 2863 varname = 'pphi' 2864 CALL check_var3D(fname, varname, pphi, klon, klev, largest, .FALSE.) 2865 varname = 't_seri' 2866 CALL check_var3D(fname, varname, t_seri, klon, klev, largest, .FALSE.) 2867 varname = 'u_seri' 2868 CALL check_var3D(fname, varname, u_seri, klon, klev, largest, .FALSE.) 2869 varname = 'v_seri' 2870 CALL check_var3D(fname, varname, v_seri, klon, klev, largest, .FALSE.) 2871 varname = 'q_seri' 2872 CALL check_var3D(fname, varname, q_seri, klon, klev, largest, .FALSE.) 2873 2750 2874 !c print*,'apres callwake iflag_cldcon=', iflag_cldcon 2751 2875 !c … … 2975 3099 END IF 2976 3100 PRINT *,' Lluis 6 d_h_vcol: ',d_h_vcol,' d_h_vcol_phy: ',d_h_vcol_phy 3101 fname = 'After thermals' 3102 varname = 'paprs' 3103 CALL check_var3D(fname, varname, paprs, klon, klev+1, largest, .FALSE.) 3104 varname = 'pplay' 3105 CALL check_var3D(fname, varname, pplay, klon, klev, largest, .FALSE.) 3106 varname = 'pphi' 3107 CALL check_var3D(fname, varname, pphi, klon, klev, largest, .FALSE.) 3108 varname = 't_seri' 3109 CALL check_var3D(fname, varname, t_seri, klon, klev, largest, .FALSE.) 3110 varname = 'u_seri' 3111 CALL check_var3D(fname, varname, u_seri, klon, klev, largest, .FALSE.) 3112 varname = 'v_seri' 3113 CALL check_var3D(fname, varname, v_seri, klon, klev, largest, .FALSE.) 3114 varname = 'q_seri' 3115 CALL check_var3D(fname, varname, q_seri, klon, klev, largest, .FALSE.) 2977 3116 2978 3117 !c------------------------------------------------------------------------- … … 3042 3181 END IF 3043 3182 PRINT *,' Lluis 7 d_h_vcol: ',d_h_vcol,' d_h_vcol_phy: ',d_h_vcol_phy 3183 fname = 'After firstilp' 3184 varname = 'paprs' 3185 CALL check_var3D(fname, varname, paprs, klon, klev+1, largest, .FALSE.) 3186 varname = 'pplay' 3187 CALL check_var3D(fname, varname, pplay, klon, klev, largest, .FALSE.) 3188 varname = 'pphi' 3189 CALL check_var3D(fname, varname, pphi, klon, klev, largest, .FALSE.) 3190 varname = 't_seri' 3191 CALL check_var3D(fname, varname, t_seri, klon, klev, largest, .FALSE.) 3192 varname = 'u_seri' 3193 CALL check_var3D(fname, varname, u_seri, klon, klev, largest, .FALSE.) 3194 varname = 'v_seri' 3195 CALL check_var3D(fname, varname, v_seri, klon, klev, largest, .FALSE.) 3196 varname = 'q_seri' 3197 CALL check_var3D(fname, varname, q_seri, klon, klev, largest, .FALSE.) 3198 3044 3199 if (mydebug) then 3045 3200 call writefield_phy('u_seri',u_seri,llm) … … 3274 3429 END IF 3275 3430 PRINT *,' Lluis 8 d_h_vcol: ',d_h_vcol,' d_h_vcol_phy: ',d_h_vcol_phy 3431 fname = 'After coupling convection+thermics+wakes' 3432 varname = 'paprs' 3433 CALL check_var3D(fname, varname, paprs, klon, klev+1, largest, .FALSE.) 3434 varname = 'pplay' 3435 CALL check_var3D(fname, varname, pplay, klon, klev, largest, .FALSE.) 3436 varname = 'pphi' 3437 CALL check_var3D(fname, varname, pphi, klon, klev, largest, .FALSE.) 3438 varname = 't_seri' 3439 CALL check_var3D(fname, varname, t_seri, klon, klev, largest, .FALSE.) 3440 varname = 'u_seri' 3441 CALL check_var3D(fname, varname, u_seri, klon, klev, largest, .FALSE.) 3442 varname = 'v_seri' 3443 CALL check_var3D(fname, varname, v_seri, klon, klev, largest, .FALSE.) 3444 varname = 'q_seri' 3445 CALL check_var3D(fname, varname, q_seri, klon, klev, largest, .FALSE.) 3446 3276 3447 !c 3277 3448 !c Calculer l'humidite relative pour diagnostique … … 3517 3688 ENDIF 3518 3689 !c 3519 PRINT *,' Lluis before calling radlwsw rmu0: ',rmu0(llp), &3520 ' dist: ',dist,' frac: ',fract(llp),' jH_cur: ',jH_cur3521 3690 CALL radlwsw & 3522 3691 & (dist, rmu0, fract, & … … 3541 3710 & solsw_aero, solsw0_aero, & 3542 3711 & topswcf_aero, solswcf_aero) 3543 PRINT *,' Lluis after calling radlwsw rmu0: ',rmu0(llp), &3544 ' dist: ',dist,' frac: ',fract(llp),' jH_cur: ',jH_cur3545 3712 3546 3713 !c … … 3647 3814 END IF 3648 3815 PRINT *,' Lluis 9 d_h_vcol: ',d_h_vcol,' d_h_vcol_phy: ',d_h_vcol_phy 3816 fname = 'After radiation' 3817 varname = 'paprs' 3818 CALL check_var3D(fname, varname, paprs, klon, klev+1, largest, .FALSE.) 3819 varname = 'pplay' 3820 CALL check_var3D(fname, varname, pplay, klon, klev, largest, .FALSE.) 3821 varname = 'pphi' 3822 CALL check_var3D(fname, varname, pphi, klon, klev, largest, .FALSE.) 3823 varname = 't_seri' 3824 CALL check_var3D(fname, varname, t_seri, klon, klev, largest, .FALSE.) 3825 varname = 'u_seri' 3826 CALL check_var3D(fname, varname, u_seri, klon, klev, largest, .FALSE.) 3827 varname = 'v_seri' 3828 CALL check_var3D(fname, varname, v_seri, klon, klev, largest, .FALSE.) 3829 varname = 'q_seri' 3830 CALL check_var3D(fname, varname, q_seri, klon, klev, largest, .FALSE.) 3831 3649 3832 !c 3650 3833 !c … … 3822 4005 END IF 3823 4006 PRINT *,' Lluis 10 d_h_vcol: ',d_h_vcol,' d_h_vcol_phy: ',d_h_vcol_phy 3824 fname = '10 d_h_vcol' 4007 fname = 'after orography' 4008 varname = 'paprs' 4009 CALL check_var3D(fname, varname, paprs, klon, klev+1, largest, .FALSE.) 4010 varname = 'pplay' 4011 CALL check_var3D(fname, varname, pplay, klon, klev, largest, .FALSE.) 4012 varname = 'pphi' 4013 CALL check_var3D(fname, varname, pphi, klon, klev, largest, .FALSE.) 3825 4014 varname = 't_seri' 3826 4015 CALL check_var3D(fname, varname, t_seri, klon, klev, largest, .FALSE.) 3827 4016 varname = 'u_seri' 4017 CALL check_var3D(fname, varname, u_seri, klon, klev, largest, .FALSE.) 4018 varname = 'v_seri' 4019 CALL check_var3D(fname, varname, v_seri, klon, klev, largest, .FALSE.) 4020 varname = 'q_seri' 4021 CALL check_var3D(fname, varname, q_seri, klon, klev, largest, .FALSE.) 3828 4022 !c 3829 4023 !c … … 3939 4133 !c 3940 4134 fname = 'after phytrac' 4135 varname = 'paprs' 4136 CALL check_var3D(fname, varname, paprs, klon, klev+1, largest, .FALSE.) 4137 varname = 'pplay' 4138 CALL check_var3D(fname, varname, pplay, klon, klev, largest, .FALSE.) 4139 varname = 'pphi' 4140 CALL check_var3D(fname, varname, pphi, klon, klev, largest, .FALSE.) 3941 4141 varname = 't_seri' 3942 4142 CALL check_var3D(fname, varname, t_seri, klon, klev, largest, .FALSE.) 4143 varname = 'u_seri' 4144 CALL check_var3D(fname, varname, u_seri, klon, klev, largest, .FALSE.) 4145 varname = 'v_seri' 4146 CALL check_var3D(fname, varname, v_seri, klon, klev, largest, .FALSE.) 4147 varname = 'q_seri' 4148 CALL check_var3D(fname, varname, q_seri, klon, klev, largest, .FALSE.) 3943 4149 3944 4150 !================================================================ … … 3955 4161 3956 4162 fname = 'after ener_conserv' 4163 varname = 'paprs' 4164 CALL check_var3D(fname, varname, paprs, klon, klev+1, largest, .FALSE.) 4165 varname = 'pplay' 4166 CALL check_var3D(fname, varname, pplay, klon, klev, largest, .FALSE.) 4167 varname = 'pphi' 4168 CALL check_var3D(fname, varname, pphi, klon, klev, largest, .FALSE.) 3957 4169 varname = 't_seri' 3958 4170 CALL check_var3D(fname, varname, t_seri, klon, klev, largest, .FALSE.) 4171 varname = 'u_seri' 4172 CALL check_var3D(fname, varname, u_seri, klon, klev, largest, .FALSE.) 4173 varname = 'v_seri' 4174 CALL check_var3D(fname, varname, v_seri, klon, klev, largest, .FALSE.) 4175 varname = 'q_seri' 4176 CALL check_var3D(fname, varname, q_seri, klon, klev, largest, .FALSE.) 3959 4177 varname = 'd_t_ec' 3960 4178 CALL check_var3D(fname, varname, d_t_ec, klon, klev, largest, .FALSE.) … … 3983 4201 END IF 3984 4202 PRINT *,' Lluis 11 d_h_vcol: ',d_h_vcol,' d_h_vcol_phy: ',d_h_vcol_phy 4203 fname = 'After everything, writting' 4204 varname = 'paprs' 4205 CALL check_var3D(fname, varname, paprs, klon, klev+1, largest, .FALSE.) 4206 varname = 'pplay' 4207 CALL check_var3D(fname, varname, pplay, klon, klev, largest, .FALSE.) 4208 varname = 'pphi' 4209 CALL check_var3D(fname, varname, pphi, klon, klev, largest, .FALSE.) 4210 varname = 't_seri' 4211 CALL check_var3D(fname, varname, t_seri, klon, klev, largest, .FALSE.) 4212 varname = 'u_seri' 4213 CALL check_var3D(fname, varname, u_seri, klon, klev, largest, .FALSE.) 4214 varname = 'v_seri' 4215 CALL check_var3D(fname, varname, v_seri, klon, klev, largest, .FALSE.) 4216 varname = 'q_seri' 4217 CALL check_var3D(fname, varname, q_seri, klon, klev, largest, .FALSE.) 4218 3985 4219 PRINT *,'Lluis Reaching the SORTIES point' 3986 4220
Note: See TracChangeset
for help on using the changeset viewer.