- Timestamp:
- Apr 17, 2023, 12:07:33 PM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars/start2archive.F
r2913 r2943 66 66 REAL,ALLOCATABLE :: tsurf(:,:) ! Surface temperature 67 67 REAL,ALLOCATABLE :: tsoil(:,:,:) ! Soil temperature 68 REAL,ALLOCATABLE :: inertiesoil(:,:,:) ! Soil thermal inertia (!= inertiedat which is for present day climate) 68 69 REAL,ALLOCATABLE :: watercap(:,:) ! h2o ice layer 69 70 REAL :: tauscaling(ngridmx) ! dust conversion factor … … 83 84 REAL,ALLOCATABLE :: tsurfS(:,:) 84 85 REAL,ALLOCATABLE :: tsoilS(:,:,:) 85 REAL ithS(ip1jmp1,nsoilmx) ! Soil Thermal Inertia 86 REAL,ALLOCATABLE :: inertiesoilS(:,:,:)! Variable Soil Thermal Inertia (obtained from PEM) 87 REAL ithS(ip1jmp1,nsoilmx) ! Soil Thermal Inertia for inertie dat (present day climate) 86 88 REAL,ALLOCATABLE :: watercapS(:,:) 87 89 REAL :: tauscalingS(ip1jmp1) … … 165 167 allocate(tsurf(ngridmx,nslope)) 166 168 allocate(tsoil(ngridmx,nsoilmx,nslope)) 169 allocate(inertiesoil(ngridmx,nsoilmx,nslope)) 167 170 allocate(watercap(ngridmx,nslope)) 168 171 allocate(emis(ngridmx,nslope)) … … 172 175 allocate(tsurfS(ip1jmp1,nslope)) 173 176 allocate(tsoilS(ip1jmp1,nsoilmx,nslope)) 177 allocate(inertiesoilS(ip1jmp1,nsoilmx,nslope)) 174 178 allocate(watercapS(ip1jmp1,nslope)) 175 179 allocate(emisS(ip1jmp1,nslope)) … … 264 268 c watercap --> watercapS 265 269 c tsoil --> tsoilS 270 c inertiesoil --> inertiesoilS 266 271 c inertiedat --> ithS 267 272 c emis --> emisS … … 281 286 call gr_fi_dyn(nsoilmx,ngridmx,iip1,jjp1,tsoil(:,:,islope), 282 287 & tsoilS(:,:,islope)) 288 call gr_fi_dyn(nsoilmx,ngridmx,iip1,jjp1,inertiesoil(:,:,islope), 289 & inertiesoil(:,:,islope)) 283 290 ! Note: thermal inertia "inertiedat" is in comsoil.h 284 291 call gr_fi_dyn(1,ngridmx,iip1,jjp1,emis(:,islope), … … 451 458 call write_archive(nid,ntime,'tsoil','Soil temperature', 452 459 & 'K',-3,tsoilS(:,:,:)) 453 454 460 ! Write soil thermal inertia 455 call write_archive(nid,ntime,'inertiedat', 461 call write_archive(nid,ntime,'inertiesoil','Soil TI', 462 & 'J.s-1/2.m-2.K-1',-3,inertiesoilS(:,:,:)) 463 ! Write soil thermal inertia for current climate 464 call write_archive(nid,ntime,'inertiedat - present day TI', 456 465 & 'Soil thermal inertia', 457 466 & 'J.s-1/2.m-2.K-1',-3,ithS)
Note: See TracChangeset
for help on using the changeset viewer.