Changeset 2669 for LMDZ5/branches/testing/libf/phylmd/phyetat0.F90
- Timestamp:
- Oct 14, 2016, 2:57:28 PM (8 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 2642-2664
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/phylmd/phyetat0.F90
r2641 r2669 3 3 SUBROUTINE phyetat0 (fichnom, clesphy0, tabcntr0) 4 4 5 USE dimphy, only: klon, zmasq, klev , nslay5 USE dimphy, only: klon, zmasq, klev 6 6 USE iophy, ONLY : init_iophy_new 7 7 USE ocean_cpl_mod, ONLY : ocean_cpl_init … … 25 25 USE carbon_cycle_mod, ONLY : carbon_cycle_tr, carbon_cycle_cpl, co2_send 26 26 USE indice_sol_mod, only: nbsrf, is_ter, epsfra, is_lic, is_oce, is_sic 27 USE ocean_slab_mod, ONLY: tslab, seaice, tice, ocean_slab_init27 USE ocean_slab_mod, ONLY: nslay, tslab, seaice, tice, ocean_slab_init 28 28 USE time_phylmdz_mod, ONLY: init_iteration, pdtphys, itau_phy 29 29 … … 443 443 IF ( type_ocean == 'slab' ) THEN 444 444 CALL ocean_slab_init(dtime, pctsrf) 445 found=phyetat0_get(nslay,tslab,"tslab","tslab",0.) 445 IF (nslay.EQ.1) THEN 446 found=phyetat0_get(1,tslab,"tslab01","tslab",0.) 447 IF (.NOT. found) THEN 448 found=phyetat0_get(1,tslab,"tslab","tslab",0.) 449 END IF 450 ELSE 451 DO i=1,nslay 452 WRITE(str2,'(i2.2)') i 453 found=phyetat0_get(1,tslab(:,i),"tslab"//str2,"tslab",0.) 454 END DO 455 END IF 446 456 IF (.NOT. found) THEN 447 457 PRINT*, "phyetat0: Le champ <tslab> est absent" … … 453 463 454 464 ! Sea ice variables 455 found=phyetat0_get(1,tice,"slab_tice","slab_tice",0.)456 465 IF (version_ocean == 'sicINT') THEN 466 found=phyetat0_get(1,tice,"slab_tice","slab_tice",0.) 457 467 IF (.NOT. found) THEN 458 468 PRINT*, "phyetat0: Le champ <tice> est absent" … … 460 470 tice(:)=ftsol(:,is_sic) 461 471 END IF 472 found=phyetat0_get(1,seaice,"seaice","seaice",0.) 462 473 IF (.NOT. found) THEN 463 474 PRINT*, "phyetat0: Le champ <seaice> est absent"
Note: See TracChangeset
for help on using the changeset viewer.