Changeset 2073 for LMDZ5/branches/testing/libf/phylmd/phyetat0.F90
- Timestamp:
- Jun 25, 2014, 5:43:19 PM (10 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 2057-2059,2062,2064-2070
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/phylmd/phyetat0.F90
r2056 r2073 3 3 SUBROUTINE phyetat0 (fichnom, clesphy0, tabcntr0) 4 4 5 USE dimphy, only: klon, zmasq, klev 5 USE dimphy, only: klon, zmasq, klev, nslay 6 6 USE iophy, ONLY : init_iophy_new 7 7 USE ocean_cpl_mod, ONLY : ocean_cpl_init … … 15 15 solsw, t_ancien, u_ancien, v_ancien, w01, wake_cstar, wake_deltaq, & 16 16 wake_deltat, wake_fip, wake_pe, wake_s, zgam, zmax0, zmea, zpic, zsig, & 17 zstd, zthe, zval 17 zstd, zthe, zval, ale_bl, ale_bl_trig, alp_bl 18 18 USE iostart, ONLY : close_startphy, get_field, get_var, open_startphy 19 19 USE infotrac, only: nbtr, type_trac, tname, niadv … … 21 21 USE carbon_cycle_mod, ONLY : carbon_cycle_tr, carbon_cycle_cpl, co2_send 22 22 USE indice_sol_mod, only: nbsrf, is_ter, epsfra, is_lic, is_oce, is_sic 23 USE ocean_slab_mod, ONLY: tslab, ocean_slab_init 23 24 24 25 IMPLICIT none … … 40 41 41 42 REAL tsoil(klon, nsoilmx, nbsrf) 42 REAL tslab(klon), seaice(klon)43 43 REAL qsurf(klon, nbsrf) 44 44 REAL qsol(klon) … … 997 997 PRINT*, '(ecart-type) detr_therm:', xmin, xmax 998 998 999 CALL get_field("ALE_BL", ale_bl, found) 1000 IF (.NOT. found) THEN 1001 PRINT*, "phyetat0: Le champ <ale_bl> est absent" 1002 PRINT*, "Depart legerement fausse. Mais je continue" 1003 ale_bl=0. 1004 ENDIF 1005 xmin = 1.0E+20 1006 xmax = -1.0E+20 1007 xmin = MINval(ale_bl) 1008 xmax = MAXval(ale_bl) 1009 PRINT*, '(ecart-type) ale_bl:', xmin, xmax 1010 1011 CALL get_field("ALE_BL_TRIG", ale_bl_trig, found) 1012 IF (.NOT. found) THEN 1013 PRINT*, "phyetat0: Le champ <ale_bl_trig> est absent" 1014 PRINT*, "Depart legerement fausse. Mais je continue" 1015 ale_bl_trig=0. 1016 ENDIF 1017 xmin = 1.0E+20 1018 xmax = -1.0E+20 1019 xmin = MINval(ale_bl_trig) 1020 xmax = MAXval(ale_bl_trig) 1021 PRINT*, '(ecart-type) ale_bl_trig:', xmin, xmax 1022 1023 CALL get_field("ALP_BL", alp_bl, found) 1024 IF (.NOT. found) THEN 1025 PRINT*, "phyetat0: Le champ <alp_bl> est absent" 1026 PRINT*, "Depart legerement fausse. Mais je continue" 1027 alp_bl=0. 1028 ENDIF 1029 xmin = 1.0E+20 1030 xmax = -1.0E+20 1031 xmin = MINval(alp_bl) 1032 xmax = MAXval(alp_bl) 1033 PRINT*, '(ecart-type) alp_bl:', xmin, xmax 1034 999 1035 ! Read and send field trs to traclmdz 1000 1036 … … 1045 1081 end if 1046 1082 1083 ! Initialize Slab variables 1084 IF ( type_ocean == 'slab' ) THEN 1085 ALLOCATE(tslab(klon,nslay), stat=ierr) 1086 IF (ierr /= 0) CALL abort_gcm & 1087 ('phyetat0', 'pb allocation tslab', 1) 1088 CALL get_field("tslab", tslab, found) 1089 IF (.NOT. found) THEN 1090 PRINT*, "phyetat0: Le champ <tslab> est absent" 1091 PRINT*, "Initialisation a tsol_oce" 1092 DO i=1,nslay 1093 tslab(:,i)=ftsol(:,is_oce) 1094 END DO 1095 END IF 1096 print*, "calling slab_init" 1097 CALL ocean_slab_init(dtime, pctsrf) 1098 END IF ! Slab 1099 1047 1100 ! on ferme le fichier 1048 1101 CALL close_startphy
Note: See TracChangeset
for help on using the changeset viewer.