Changeset 3423 for trunk/LMDZ.GENERIC
- Timestamp:
- Sep 2, 2024, 5:20:13 PM (3 months ago)
- Location:
- trunk/LMDZ.GENERIC
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/changelog.txt
r3397 r3423 1970 1970 Fix/clarification of the usage of tice (sea ice surface temperature) vs. 1971 1971 tsea_ice (temperature of the top layer (ice or snow)). 1972 1973 == 02/09/2024 == SB 1974 Including variable "tice" in startarchive and newstart -
trunk/LMDZ.GENERIC/libf/dynphy_lonlat/phystd/lect_start_archive.F
r3100 r3423 3 3 & t,ucov,vcov,ps,h,phisold_newgrid, 4 4 & q,qsurf,surfith,nid, 5 & rnat,pctsrf_sic,tslab,tsea_ice, sea_ice,5 & rnat,pctsrf_sic,tslab,tsea_ice,tice,sea_ice, 6 6 & du_nonoro_gwd,dv_nonoro_gwd,east_gwstress,west_gwstress) 7 7 … … 71 71 REAL,INTENT(OUT) :: tslab(ngrid,nslay) 72 72 REAL ,INTENT(OUT) ::rnat(ngrid),pctsrf_sic(ngrid) 73 REAL,INTENT(OUT) :: tsea_ice(ngrid), sea_ice(ngrid)73 REAL,INTENT(OUT) :: tsea_ice(ngrid),tice(ngrid),sea_ice(ngrid) 74 74 c REAL phisfi(ngrid) 75 75 REAL,INTENT(OUT):: du_nonoro_gwd(ngrid,llm) … … 100 100 REAL q2S(iip1,jjp1,llm+1),qsurfS(iip1,jjp1,nqtot) 101 101 real tslabS(iip1,jjp1,nslay) 102 real pctsrf_sicS(iip1,jjp1),tsea_iceS(iip1,jjp1) 102 real pctsrf_sicS(iip1,jjp1),tsea_iceS(iip1,jjp1),ticeS(iip1,jjp1) 103 103 real rnatS(iip1,jjp1), sea_iceS(iip1,jjp1) 104 104 real du_nonoro_gwdS(iip1,jjp1,llm),dv_nonoro_gwdS(iip1,jjp1,llm) … … 134 134 real, dimension(:,:,:), allocatable :: tslabold 135 135 real, dimension(:,:), allocatable :: rnatold,pctsrf_sicold 136 real, dimension(:,:), allocatable :: tsea_iceold,sea_iceold 136 real, dimension(:,:), allocatable :: tsea_iceold,ticeold 137 real, dimension(:,:), allocatable :: sea_iceold 137 138 real,allocatable :: du_nonoro_gwdold(:,:,:) 138 139 real,allocatable :: dv_nonoro_gwdold(:,:,:) … … 292 293 allocate(pctsrf_sicold(imold+1,jmold+1)) 293 294 allocate(tsea_iceold(imold+1,jmold+1)) 295 allocate(ticeold(imold+1,jmold+1)) 294 296 allocate(sea_iceold(imold+1,jmold+1)) 295 297 … … 742 744 IF (ierr .NE. NF_NOERR) THEN 743 745 PRINT*, "lect_start_archive: Failed loading <tsea_ice>" 746 ENDIF 747 c 748 ierr = NF_INQ_VARID (nid, "tice", nvarid) 749 IF (ierr .NE. NF_NOERR) THEN 750 PRINT*, "lect_start_archive: Field <tice> not found" 751 ENDIF 752 #ifdef NC_DOUBLE 753 ierr = NF_GET_VARA_DOUBLE(nid, nvarid,start,count,ticeold) 754 #else 755 ierr = NF_GET_VARA_REAL(nid, nvarid,start,count,ticeold) 756 #endif 757 IF (ierr .NE. NF_NOERR) THEN 758 PRINT*, "lect_start_archive: Failed loading <tice>" 744 759 ENDIF 745 760 c … … 1314 1329 & rlonuold,rlatvold,rlonu,rlatv) 1315 1330 call gr_dyn_fi (1,iim+1,jjm+1,ngrid,tsea_ices,tsea_ice) 1331 1332 call interp_horiz (ticeold,tices,imold,jmold,iim,jjm,1, 1333 & rlonuold,rlatvold,rlonu,rlatv) 1334 call gr_dyn_fi (1,iim+1,jjm+1,ngrid,tices,tice) 1316 1335 1317 1336 call interp_horiz (sea_iceold,sea_ices,imold,jmold,iim,jjm,1, … … 1522 1541 deallocate(pctsrf_sicold) 1523 1542 deallocate(tsea_iceold) 1543 deallocate(ticeold) 1524 1544 deallocate(sea_iceold) 1525 1545 -
trunk/LMDZ.GENERIC/libf/dynphy_lonlat/phystd/newstart.F
r3341 r3423 128 128 REAL,ALLOCATABLE :: tslab(:,:) ! slab ocean temperature 129 129 REAL pctsrf_sic(ngridmx) ! sea ice cover 130 REAL tsea_ice(ngridmx) ! temperature sea_ice 130 REAL tsea_ice(ngridmx) ! sea ice temperature 131 REAL tice(ngridmx) ! top layer temp, snow/seaice 131 132 REAL sea_ice(ngridmx) ! mass of sea ice (kg/m2) 132 133 … … 367 368 & tsurf,tsoil,emis,spectral_albedofi,q2,qsurf, 368 369 & cloudfrac,totalfrac,hice,rnat,pctsrf_sic,tslab,tsea_ice, 369 & sea_ice)370 & tice,sea_ice) 370 371 371 372 ! copy albedo and soil thermal inertia on (local) physics grid … … 570 571 & t,ucov,vcov,ps,teta,phisold_newgrid,q,qsurf, 571 572 & surfith,nid, 572 & rnat,pctsrf_sic,tslab,tsea_ice, sea_ice,573 & rnat,pctsrf_sic,tslab,tsea_ice,tice,sea_ice, 573 574 & du_nonoro_gwd,dv_nonoro_gwd,east_gwstress,west_gwstress) 574 575 write(*,*) "OK, read start_archive file" … … 620 621 write(*,*) 'noacglac : H2O ice across Noachis Terra' 621 622 write(*,*) 'oborealis : H2O ice across Vastitas Borealis' 623 write(*,*) 'oceanball : H2O liquid everywhere' 622 624 write(*,*) 'iceball : Thick ice layer all over surface' 623 625 write(*,*) 'supercontinent: Create a continent of given Ab and TI' … … 1677 1679 & tsurf,tsoil,emis,spectral_albedofi,q2,qsurf, 1678 1680 & cloudfrac,totalfrac,hice, 1679 & rnat,pctsrf_sic,tslab,tsea_ice, sea_ice)1681 & rnat,pctsrf_sic,tslab,tsea_ice,tice,sea_ice) 1680 1682 1681 1683 c======================================================================= -
trunk/LMDZ.GENERIC/libf/dynphy_lonlat/phystd/start2archive.F
r3335 r3423 87 87 REAL rnat(ngridmx),pctsrf_sic(ngridmx),sea_ice(ngridmx) 88 88 REAL, ALLOCATABLE :: tslab(:,:) 89 REAL tsea_ice(ngridmx) 89 REAL tsea_ice(ngridmx),tice(ngridmx) 90 90 91 91 … … 109 109 REAL rnatS(ip1jmp1),pctsrf_sicS(ip1jmp1),sea_iceS(ip1jmp1) 110 110 REAL, ALLOCATABLE :: tslabS(:,:) 111 REAL tsea_iceS(ip1jmp1) 111 REAL tsea_iceS(ip1jmp1),ticeS(ip1jmp1) 112 112 113 113 ! For non-orographic GW … … 250 250 ! change FF 05/2011 251 251 . cloudfrac,totalcloudfrac,hice, 252 ! change BC 05/2014 253 . rnat,pctsrf_sic,tslab,tsea_ice, sea_ice)252 ! change BC 05/2014, SB 08/2024 253 . rnat,pctsrf_sic,tslab,tsea_ice,tice,sea_ice) 254 254 255 255 … … 363 363 call gr_fi_dyn(1,ngridmx,iip1,jjp1,pctsrf_sic,pctsrf_sicS) 364 364 call gr_fi_dyn(1,ngridmx,iip1,jjp1,tsea_ice,tsea_iceS) 365 call gr_fi_dyn(1,ngridmx,iip1,jjp1,tice,ticeS) 365 366 call gr_fi_dyn(1,ngridmx,iip1,jjp1,sea_ice,sea_iceS) 366 367 call gr_fi_dyn(nslay,ngridmx,iip1,jjp1,tslab,tslabS) … … 550 551 call write_archive(nid,ntime,'tsea_ice' 551 552 & ,'tsea_ice','',2,tsea_iceS) 553 call write_archive(nid,ntime,'tice' 554 & ,'tice','',2,ticeS) 552 555 endif !ok_slab_ocean 553 556
Note: See TracChangeset
for help on using the changeset viewer.