Changeset 2079 for trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars
- Timestamp:
- Jan 22, 2019, 5:02:23 PM (6 years ago)
- Location:
- trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars/datareadnc.F
r1974 r2079 2 2 SUBROUTINE datareadnc(relief,phisinit,alb,ith,z0, 3 3 & zmea,zstd,zsig,zgam,zthe, 4 & hmons,summit, zavg)4 & hmons,summit,base,zavg) 5 5 c======================================================================= 6 6 c … … 79 79 REAL,intent(out) :: zthe(imdp1*jmdp1) 80 80 REAL,intent(out) :: hmons(imdp1*jmdp1) !CW17,361*180 hmons 81 REAL,intent(out) :: summit(imdp1*jmdp1) !CW17,361*180 hmons 82 REAL,intent(out) :: zavg(imdp1*jmdp1) !CW17,361*180 hmons 81 REAL,intent(out) :: summit(imdp1*jmdp1) 82 REAL,intent(out) :: base(imdp1*jmdp1) 83 REAL,intent(out) :: zavg(imdp1*jmdp1) 83 84 84 85 ! Local variables: … … 327 328 c we don't need to put them into restartfi.nc 328 329 string(6) = 'summit' !subgrid summit 329 cstring(7) = 'base' !base of summit (not subgrid)330 string(7) = 'base' !base of summit (not subgrid) 330 331 c string(8) = 'bottom' !subgrid base 331 do k=5, 6332 do k=5,7 332 333 write(*,*) 'string',k,string(k) 333 334 c----------------------------------------------------------------------- … … 373 374 enddo 374 375 375 if (k .eq. 5 .or. k .eq. 6 ) then376 if (k .eq. 5 .or. k .eq. 6 .or. k .eq. 7) then 376 377 ! hmons, summit, keep the maximum of subgrids 377 378 call mvc_horiz(imd,jmdp1,iim,jjm,longitude, … … 404 405 if (k.eq.6) then ! summit 405 406 do i=1,iimp1*jjp1 407 if (pfield(i) .ne. -999999.) then 406 408 summit(i) = pfield(i) 409 else 410 summit(i)=0. 411 endif 412 enddo 413 endif 414 415 if (k.eq.7) then ! base 416 do i=1,iimp1*jjp1 417 if (pfield(i) .ne. -999999.) then 418 base(i) = pfield(i) 419 else 420 base(i)=0. 421 endif 407 422 enddo 408 423 endif -
trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars/newstart.F
r2001 r2079 27 27 use surfdat_h, only: phisfi, z0, zmea, zstd, zsig, zgam, zthe, 28 28 & albedodat, z0_default, qsurf, tsurf, 29 & co2ice, emis, hmons 29 & co2ice, emis, hmons, summit, base 30 30 use comsoil_h, only: inertiedat, layer, mlayer, nsoilmx, tsoil 31 31 use control_mod, only: day_step, iphysiq, anneeref, planet_type … … 100 100 real hmonsS(iip1,jjp1) 101 101 real summitS(iip1,jjp1) 102 real baseS(iip1,jjp1) 102 103 real zavgS(iip1,jjp1) 103 104 real z0S(iip1,jjp1) … … 385 386 CALL datareadnc(relief,phis,alb,surfith,z0S, 386 387 & zmeaS,zstdS,zsigS,zgamS,ztheS, 387 & hmonsS,summitS, zavgS)388 & hmonsS,summitS,baseS,zavgS) 388 389 389 390 CALL gr_dyn_fi(1,iip1,jjp1,ngridmx,phis,phisfi) … … 398 399 CALL gr_dyn_fi(1,iip1,jjp1,ngridmx,ztheS,zthe) 399 400 CALL gr_dyn_fi(1,iip1,jjp1,ngridmx,hmonsS,hmons) 400 ! CALL gr_dyn_fi(1,iip1,jjp1,ngridmx,summitS,summit) 401 CALL gr_dyn_fi(1,iip1,jjp1,ngridmx,summitS,summit) 402 CALL gr_dyn_fi(1,iip1,jjp1,ngridmx,baseS,base) 401 403 ! CALL gr_dyn_fi(1,iip1,jjp1,ngridmx,zavgS,zavg) 402 404 … … 1651 1653 & nqtot,dtphys,real(day_ini),0.0,cell_area, 1652 1654 & albfi,ithfi,zmea,zstd,zsig,zgam,zthe, 1653 & hmons )1655 & hmons,summit,base) 1654 1656 call physdem1("restartfi.nc",nsoilmx,ngridmx,llm,nqtot, 1655 1657 & dtphys,hour_ini,
Note: See TracChangeset
for help on using the changeset viewer.