Changeset 3335 for trunk/LMDZ.GENERIC/libf/dynphy_lonlat/phystd
- Timestamp:
- May 18, 2024, 8:21:24 PM (9 months ago)
- Location:
- trunk/LMDZ.GENERIC/libf/dynphy_lonlat/phystd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/dynphy_lonlat/phystd/newstart.F
r3116 r3335 21 21 USE tracer_h, ONLY: igcm_co2_ice, igcm_h2o_vap, igcm_h2o_ice 22 22 USE comsoil_h, ONLY: nsoilmx, layer, mlayer, inertiedat 23 USE radinc_h, only : L_NSPECTV ! number of spectral bands in the visible 23 24 USE surfdat_h, ONLY: phisfi, albedodat, 24 25 & zmea, zstd, zsig, zgam, zthe … … 112 113 REAL q2(ngridmx,llm+1) 113 114 ! REAL rnaturfi(ngridmx) 114 real alb(iip1,jjp1),albfi(ngridmx) ! albedos 115 real alb(iip1,jjp1),albfi(ngridmx) ! bare ground albedos 116 real albedodyn(iip1,jjp1),albedofi(ngridmx) ! surface albedos 117 real spectral_albedofi(ngridmx,L_NSPECTV) ! spectral surface albedo 115 118 real,ALLOCATABLE :: ith(:,:,:),ithfi(:,:) ! thermal inertia (3D) 116 119 real surfith(iip1,jjp1),surfithfi(ngridmx) ! surface thermal inertia (2D) … … 361 364 fichnom = 'startfi.nc' 362 365 CALL phyetat0(.true.,ngridmx,llm,fichnom,tab0,Lmodif,nsoilmx, 363 .nqtot,day_ini,time,364 . tsurf,tsoil,emis,q2,qsurf, !) ! temporary modif by RDW365 .cloudfrac,totalfrac,hice,rnat,pctsrf_sic,tslab,tsea_ice,366 .sea_ice)366 & nqtot,day_ini,time, 367 & tsurf,tsoil,emis,spectral_albedofi,q2,qsurf, 368 & cloudfrac,totalfrac,hice,rnat,pctsrf_sic,tslab,tsea_ice, 369 & sea_ice) 367 370 368 371 ! copy albedo and soil thermal inertia on (local) physics grid 369 372 do i=1,ngridmx 370 373 albfi(i) = albedodat(i) 374 albedofi(i)= spectral_albedofi(i,1) ! assume same albedo at all wavelenghts 371 375 do j=1,nsoilmx 372 376 ithfi(i,j) = inertiedat(i,j) … … 380 384 ! to correctly recast things on physics grid) 381 385 call gr_fi_dyn(1,ngridmx,iip1,jjp1,albfi,alb) 386 call gr_fi_dyn(1,ngridmx,iip1,jjp1,albedofi,albedodyn) 382 387 call gr_fi_dyn(nsoilmx,ngridmx,iip1,jjp1,ithfi,ith) 383 388 call gr_fi_dyn(1,ngridmx,iip1,jjp1,surfithfi,surfith) … … 1662 1667 call physdem1("restartfi.nc",nsoilmx,ngridmx,llm,nqtot, 1663 1668 & dtphys,real(day_ini), 1664 & tsurf,tsoil,emis, q2,qsurf,1669 & tsurf,tsoil,emis,spectral_albedofi,q2,qsurf, 1665 1670 & cloudfrac,totalfrac,hice, 1666 1671 & rnat,pctsrf_sic,tslab,tsea_ice,sea_ice) -
trunk/LMDZ.GENERIC/libf/dynphy_lonlat/phystd/start2archive.F
r3100 r3335 21 21 use infotrac, only: infotrac_init, nqtot, tname 22 22 USE comsoil_h 23 23 USE radinc_h, only : L_NSPECTV ! number of spectral bands in the visible 24 24 ! use slab_ice_h, only: noceanmx 25 25 USE ocean_slab_mod, ONLY: nslay … … 73 73 REAL,ALLOCATABLE :: qsurf(:,:) 74 74 REAL emis(ngridmx) 75 REAL :: albedo(ngridmx,L_NSPECTV) ! spectral surface albedo 75 76 INTEGER start,length 76 77 PARAMETER (length = 100) … … 99 100 REAL,ALLOCATABLE :: qsurfS(:,:) 100 101 REAL emisS(ip1jmp1) 102 REAL :: albedoS(ngridmx) ! surface albedo assumed same at all wavelengths 101 103 102 104 ! added by FF for cloud fraction setup … … 245 247 CALL phyetat0(.true.,ngridmx,llm,fichnom,0,Lmodif,nsoilmx,nqtot, 246 248 . day_ini_fi,timefi, 247 . tsurf,tsoil,emis, q2,qsurf,249 . tsurf,tsoil,emis,albedo,q2,qsurf, 248 250 ! change FF 05/2011 249 251 . cloudfrac,totalcloudfrac,hice, … … 351 353 call gr_fi_dyn(nsoilmx,ngridmx,iip1,jjp1,inertiedat,ithS) 352 354 call gr_fi_dyn(1,ngridmx,iip1,jjp1,emis,emisS) 355 call gr_fi_dyn(1,ngridmx,iip1,jjp1,albedo(1,1),albedoS) 353 356 call gr_fi_dyn(llm+1,ngridmx,iip1,jjp1,q2,q2S) 354 357 call gr_fi_dyn(nqtot,ngridmx,iip1,jjp1,qsurf,qsurfS) … … 455 458 ! & 'kg/m2',2,co2iceS) 456 459 call write_archive(nid,ntime,'emis','grd emis',' ',2,emisS) 460 call write_archive(nid,ntime,'albedo','surface albedo',' ', 461 & 2,albedoS) 457 462 call write_archive(nid,ntime,'ps','Psurf','Pa',2,ps) 458 463 call write_archive(nid,ntime,'tsurf','surf T','K',2,tsurfS)
Note: See TracChangeset
for help on using the changeset viewer.