Changeset 2898 for trunk/LMDZ.GENERIC/libf/phystd/dyn1d
- Timestamp:
- Feb 21, 2023, 9:08:49 AM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/dyn1d/kcm1d.F90
r2785 r2898 10 10 use callkeys_mod, only: pceil, tstrat, tracer, global1d 11 11 use inifis_mod, only: inifis 12 use aerosol_mod, only: iniaerosol 13 use callcorrk_mod, only: callcorrk 12 14 use comcstfi_mod 13 15 use mod_grid_phy_lmdz, only : regular_lonlat … … 56 58 real,allocatable :: vmr(:,:) ! tracer mixing ratio [mol/mol] 57 59 real,allocatable :: qsurf(:) ! tracer surface budget [kg/kg] ???? 58 real psurf,psurf_n,tsurf 59 60 real emis , albedo, albedo_equivalent60 real psurf,psurf_n,tsurf(1) 61 62 real emis(1), albedo(1), albedo_equivalent(1) 61 63 real albedo_wv(1,L_NSPECTV) 62 64 … … 65 67 real dtsw(llm) ! heating rate (K/s) due to SW 66 68 real dtlw(llm) ! heating rate (K/s) due to LW 67 real fluxsurf_lw ! incident LW flux to surf (W/m2)68 real fluxtop_lw ! outgoing LW flux to space (W/m2)69 real fluxsurf_sw ! incident SW flux to surf (W/m2)70 real fluxsurfabs_sw ! absorbed SW flux by the surf (W/m2)71 real fluxabs_sw ! SW flux absorbed by planet (W/m2)72 real fluxtop_dn ! incident top of atmosphere SW flux (W/m2)69 real fluxsurf_lw(1) ! incident LW flux to surf (W/m2) 70 real fluxtop_lw(1) ! outgoing LW flux to space (W/m2) 71 real fluxsurf_sw(1) ! incident SW flux to surf (W/m2) 72 real fluxsurfabs_sw(1) ! absorbed SW flux by the surf (W/m2) 73 real fluxabs_sw(1) ! SW flux absorbed by planet (W/m2) 74 real fluxtop_dn(1) ! incident top of atmosphere SW flux (W/m2) 73 75 74 76 ! not used 75 real cloudfrac( llm)76 real totcloudfrac 77 real tau_col 77 real cloudfrac(1,llm) 78 real totcloudfrac(1) 79 real tau_col(1) 78 80 79 81 real dTstrat … … 81 83 real OLR_nu(1,L_NSPECTI) 82 84 real OSR_nu(1,L_NSPECTV) 85 real GSR_nu(1,L_NSPECTV) 86 real int_dtaui(1,llm,L_NSPECTI) 87 real int_dtauv(1,llm,L_NSPECTV) 83 88 real Eatmtot 84 89 … … 100 105 pi=2.E+0*asin(1.E+0) 101 106 102 cloudfrac( :) = 0.0103 totcloudfrac = 0.0107 cloudfrac(1,:) = 0.0 108 totcloudfrac(1) = 0.0 104 109 105 110 … … 254 259 write(*,*) " albedo = ",albedo 255 260 do iw=1,L_NSPECTV 256 albedo_wv(1,iw)=albedo 261 albedo_wv(1,iw)=albedo(1) 257 262 enddo 258 263 … … 360 365 361 366 362 call iniaerosol ()367 call iniaerosol 363 368 364 369 … … 372 377 dtlw,dtsw,fluxsurf_lw,fluxsurf_sw, & 373 378 fluxsurfabs_sw,fluxtop_lw, & 374 fluxabs_sw,fluxtop_dn,OLR_nu,OSR_nu,tau_col, & 375 cloudfrac,totcloudfrac,.false.,firstcall,lastcall) 379 fluxabs_sw,fluxtop_dn,OLR_nu,OSR_nu,GSR_nu, & 380 int_dtaui,int_dtauv, & 381 tau_col,cloudfrac,totcloudfrac, & 382 .false.,firstcall,lastcall) 376 383 377 384 !write(*,*) 'BASE 3' … … 397 404 ! skin temperature (gray approx.) using analytic pure H2 expression 398 405 !Tstrat = (fluxabs_sw/(2*sigma))**0.25 ! skin temperature (gray approx.) 399 Tstrat = (fluxtop_lw /(2*sigma))**0.25 ! skin temperature (gray approx.)406 Tstrat = (fluxtop_lw(1)/(2*sigma))**0.25 ! skin temperature (gray approx.) 400 407 dTstrat = dTstrat-Tstrat 401 408 … … 422 429 tsurf,fract,dist_star,aerosol,muvar, & 423 430 dtlw,dtsw,fluxsurf_lw,fluxsurf_sw,fluxsurfabs_sw, & 424 fluxtop_lw, fluxabs_sw,fluxtop_dn,OLR_nu,OSR_nu, & 425 tau_col, & 426 cloudfrac,totcloudfrac,.false.,firstcall,lastcall) 431 fluxtop_lw, fluxabs_sw,fluxtop_dn,OLR_nu,OSR_nu,GSR_nu, & 432 int_dtaui,int_dtauv, & 433 tau_col,cloudfrac,totcloudfrac, & 434 .false.,firstcall,lastcall) 427 435 428 436
Note: See TracChangeset
for help on using the changeset viewer.