Changeset 2571 for LMDZ5/trunk
- Timestamp:
- Jun 14, 2016, 1:51:43 PM (9 years ago)
- Location:
- LMDZ5/trunk/libf/phylmd
- Files:
-
- 6 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/cosp/cosp_constants.F90
r2428 r2571 108 108 -31.5,-28.5,-25.5,-22.5,-19.5,-16.5,-13.5,-10.5, -7.5, -4.5, & 109 109 -1.5, 1.5, 4.5, 7.5, 10.5, 13.5, 16.5, 19.5, 22.5, 25.5/) 110 real,parameter,dimension(2,LIDAR_NTEMP) :: LIDAR_PHASE_TEMP_BNDS=reshape(source=(/-273.15,-90.,-90.,-87.,-87.,-84.,-84.,-81.,-81.,-78., & 110 real,parameter,dimension(2,LIDAR_NTEMP) :: LIDAR_PHASE_TEMP_BNDS=reshape(source=& 111 (/-273.15,-90.,-90.,-87.,-87.,-84.,-84.,-81.,-81.,-78., & 111 112 -78.,-75.,-75.,-72.,-72.,-69.,-69.,-66.,-66.,-63., & 112 113 -63.,-60.,-60.,-57.,-57.,-54.,-54.,-51.,-51.,-48., & -
LMDZ5/trunk/libf/phylmd/cosp/cosp_output_mod.F90
r2447 r2571 228 228 real,dimension(2,SR_BINS) :: sratio_bounds 229 229 real,dimension(SR_BINS) :: sratio_ax 230 CHARACTER(LEN=20), DIMENSION(3) :: chfreq = (/ '1day', '1d ', '3h' /)230 CHARACTER(LEN=20), DIMENSION(3) :: chfreq = (/ '1day', '1d ', '3h ' /) 231 231 232 232 !!! Variables d'entree … … 363 363 CALL histvert(cosp_nidfiles(iff),"column","column","count",Ncolumns,column_ax(1:Ncolumns),nvertcol(iff)) 364 364 365 CALL histvert(cosp_nidfiles(iff),"temp","temperature","C",LIDAR_NTEMP,LIDAR_PHASE_TEMP,nverttemp(iff)) 366 CALL histvert(cosp_nidfiles(iff),"cth16","altitude","m",MISR_N_CTH,MISR_CTH,nvertmisr(iff)) 365 CALL histvert(cosp_nidfiles(iff),"temp","temperature","C",LIDAR_NTEMP,LIDAR_PHASE_TEMP,nverttemp(iff)) 366 367 CALL histvert(cosp_nidfiles(iff),"cth16","altitude","m",MISR_N_CTH,MISR_CTH,nvertmisr(iff)) 368 367 369 ! CALL histvert(cosp_nidfiles(iff),"dbze","equivalent_reflectivity_factor","dBZ",DBZE_BINS,dbze_ax,nvertbze(iff)) 368 370 -
LMDZ5/trunk/libf/phylmd/cosp/phys_cosp.F90
r2428 r2571 73 73 74 74 !! AI rajouter 75 75 #include "cosp_defs.h" 76 76 USE MOD_COSP_CONSTANTS 77 77 USE MOD_COSP_TYPES -
LMDZ5/trunk/libf/phylmd/surf_land_mod.F90
r2410 r2571 24 24 USE surface_data, ONLY : ok_veget 25 25 26 ! See comments in each module surf_land_orchidee_xxx for compatiblity with ORCHIDEE 26 27 #ifdef ORCHIDEE_NOOPENMP 28 ! Compilation with cpp key ORCHIDEE NOOPENMP 27 29 USE surf_land_orchidee_noopenmp_mod 28 30 #else 31 #if ORCHIDEE_NOZ0H 32 ! Compilation with cpp key ORCHIDEE NOZ0H 33 USE surf_land_orchidee_noz0h_mod 34 #else 35 ! Compilation with default interface 29 36 USE surf_land_orchidee_mod 30 37 #endif 38 #endif 39 31 40 USE surf_land_bucket_mod 32 41 USE calcul_fluxs_mod … … 141 150 evap, fluxsens, fluxlat, & 142 151 tsol_rad, tsurf_new, alb1_new, alb2_new, & 143 emis_new, z0m, qsurf) 144 z0h(1:knon)=z0m(1:knon) ! En attendant mieux 152 emis_new, z0m, z0h, qsurf) 145 153 146 154 ! -
LMDZ5/trunk/libf/phylmd/surf_land_orchidee_mod.F90
r2410 r2571 2 2 MODULE surf_land_orchidee_mod 3 3 #ifndef ORCHIDEE_NOOPENMP 4 #ifndef ORCHIDEE_NOZ0H 4 5 ! 5 6 ! This module controles the interface towards the model ORCHIDEE. 6 7 ! 7 8 ! Compatibility with ORCHIDIEE : 8 ! The current version can be used with ORCHIDEE/trunk from revision 2961. 9 ! This interface can also be used with ORCHIDEE/trunk revision 1078-2960 if changing 10 ! coszang=yrmu0 into sinang=yrmu0 at 2 places later below in this module. 9 ! The current version can be used with ORCHIDEE/trunk from revision 3525. 10 ! This interface is used if none of the cpp keys ORCHIDEE_NOOPENMP or ORCHIDEE_NOZ0H is set. 11 11 ! 12 12 ! Subroutines in this module : surf_land_orchidee … … 44 44 evap, fluxsens, fluxlat, & 45 45 tsol_rad, tsurf_new, alb1_new, alb2_new, & 46 emis_new, z0 _new, qsurf)46 emis_new, z0m_new, z0h_new, qsurf) 47 47 48 48 USE mod_surf_para … … 104 104 ! alb2_new albedo in near IR interval 105 105 ! emis_new emissivite 106 ! z0_new surface roughness 106 ! z0m_new surface roughness for momentum 107 ! z0h_new surface roughness for heat 107 108 ! qsurf air moisture at surface 108 109 ! … … 137 138 REAL, DIMENSION(klon), INTENT(OUT) :: tsol_rad, tsurf_new 138 139 REAL, DIMENSION(klon), INTENT(OUT) :: alb1_new, alb2_new 139 REAL, DIMENSION(klon), INTENT(OUT) :: emis_new, z0 _new140 REAL, DIMENSION(klon), INTENT(OUT) :: emis_new, z0m_new, z0h_new 140 141 141 142 ! Local … … 403 404 404 405 #ifdef CPP_VEGET 405 CALL intersurf_main (itime+itau_phy-1, nbp_lon, nbp_lat, knon, ktindex, dtime, & 406 lrestart_read, lrestart_write, lalo, & 407 contfrac, neighbours, resolution, date0, & 408 zlev, u1_lay, v1_lay, spechum, temp_air, epot_air, ccanopy, & 406 CALL intersurf_initialize_gathered (itime+itau_phy-1, nbp_lon, nbp_lat, knon, ktindex, dtime, & 407 lrestart_read, lrestart_write, lalo, contfrac, neighbours, resolution, date0, & 408 zlev, u1_lay, v1_lay, spechum, temp_air, epot_air, & 409 409 cdrag, petA_orc, peqA_orc, petB_orc, peqB_orc, & 410 410 precip_rain, precip_snow, lwdown, swnet, swdown, ps, & 411 411 evap, fluxsens, fluxlat, coastalflow, riverflow, & 412 tsol_rad, tsurf_new, qsurf, albedo_out, emis_new, z0 _new, &413 lon_scat, lat_scat, q2m, t2m, coszang=yrmu0)412 tsol_rad, tsurf_new, qsurf, albedo_out, emis_new, z0m_new, & 413 lon_scat, lat_scat, q2m, t2m, z0h_new) 414 414 #endif 415 415 ENDIF … … 427 427 IF (knon > 0) THEN 428 428 #ifdef CPP_VEGET 429 CALL intersurf_main (itime+itau_phy, nbp_lon, nbp_lat, knon, ktindex, dtime, &429 CALL intersurf_main_gathered (itime+itau_phy, nbp_lon, nbp_lat, knon, ktindex, dtime, & 430 430 lrestart_read, lrestart_write, lalo, & 431 431 contfrac, neighbours, resolution, date0, & … … 434 434 precip_rain(1:knon), precip_snow(1:knon), lwdown(1:knon), swnet(1:knon), swdown_vrai(1:knon), ps(1:knon), & 435 435 evap(1:knon), fluxsens(1:knon), fluxlat(1:knon), coastalflow(1:knon), riverflow(1:knon), & 436 tsol_rad(1:knon), tsurf_new(1:knon), qsurf(1:knon), albedo_out(1:knon,:), emis_new(1:knon), z0 _new(1:knon), &437 lon_scat, lat_scat, q2m, t2m, coszang=yrmu0(1:knon))436 tsol_rad(1:knon), tsurf_new(1:knon), qsurf(1:knon), albedo_out(1:knon,:), emis_new(1:knon), z0m_new(1:knon), & 437 lon_scat, lat_scat, q2m, t2m, z0h_new(1:knon), coszang=yrmu0(1:knon)) 438 438 #endif 439 439 ENDIF … … 664 664 ! 665 665 #endif 666 #endif 666 667 END MODULE surf_land_orchidee_mod -
LMDZ5/trunk/libf/phylmd/surf_land_orchidee_noopenmp_mod.F90
r2410 r2571 44 44 evap, fluxsens, fluxlat, & 45 45 tsol_rad, tsurf_new, alb1_new, alb2_new, & 46 emis_new, z0_new, qsurf)46 emis_new, z0_new, z0h_new, qsurf) 47 47 ! 48 48 ! Cette routine sert d'interface entre le modele atmospherique et le … … 95 95 ! emis_new emissivite 96 96 ! z0_new surface roughness 97 ! z0h_new surface roughness, it is the same as z0_new 97 98 ! qsurf air moisture at surface 98 99 ! … … 136 137 REAL, DIMENSION(klon), INTENT(OUT) :: tsol_rad, tsurf_new 137 138 REAL, DIMENSION(klon), INTENT(OUT) :: alb1_new, alb2_new 138 REAL, DIMENSION(klon), INTENT(OUT) :: emis_new, z0_new 139 REAL, DIMENSION(klon), INTENT(OUT) :: emis_new, z0_new, z0h_new 139 140 140 141 ! Local … … 496 497 497 498 albedo_keep(1:knon) = (albedo_out(1:knon,1)+albedo_out(1:knon,2))/2. 499 500 ! ORCHIDEE only gives one value for z0_new. Copy it into z0h_new. 501 z0h_new(:)=z0_new(:) 498 502 499 503 !* Send to coupler -
LMDZ5/trunk/libf/phylmd/surf_land_orchidee_noz0h_mod.F90
r2570 r2571 1 1 ! 2 MODULE surf_land_orchidee_ mod3 #if ndef ORCHIDEE_NOOPENMP2 MODULE surf_land_orchidee_noz0h_mod 3 #ifdef ORCHIDEE_NOZ0H 4 4 ! 5 5 ! This module controles the interface towards the model ORCHIDEE. 6 6 ! 7 7 ! Compatibility with ORCHIDIEE : 8 ! The current version can be used with ORCHIDEE/trunk from revision 2961. 8 ! This module is compiled only if CPP key ORCHIDEE_NOZ0H is defined. 9 ! This version can be used with ORCHIDEE/trunk revision 2961-3525. 10 ! It is possible to use this interface with later versions of ORCHIDEE/trunk than 3525 but 11 ! in that case the option ROUGH_DYN=y in ORCHIDEE should not be set. 9 12 ! This interface can also be used with ORCHIDEE/trunk revision 1078-2960 if changing 10 13 ! coszang=yrmu0 into sinang=yrmu0 at 2 places later below in this module. … … 44 47 evap, fluxsens, fluxlat, & 45 48 tsol_rad, tsurf_new, alb1_new, alb2_new, & 46 emis_new, z0_new, qsurf)49 emis_new, z0_new, z0h_new, qsurf) 47 50 48 51 USE mod_surf_para … … 105 108 ! emis_new emissivite 106 109 ! z0_new surface roughness 110 ! z0h_new surface roughness, it is a copy from z0_new 107 111 ! qsurf air moisture at surface 108 112 ! … … 137 141 REAL, DIMENSION(klon), INTENT(OUT) :: tsol_rad, tsurf_new 138 142 REAL, DIMENSION(klon), INTENT(OUT) :: alb1_new, alb2_new 139 REAL, DIMENSION(klon), INTENT(OUT) :: emis_new, z0_new 143 REAL, DIMENSION(klon), INTENT(OUT) :: emis_new, z0_new, z0h_new 140 144 141 145 ! Local … … 438 442 #endif 439 443 ENDIF 444 z0h_new(:)=z0_new(:) 440 445 441 446 CALL Synchro_omp … … 664 669 ! 665 670 #endif 666 END MODULE surf_land_orchidee_ mod671 END MODULE surf_land_orchidee_noz0h_mod
Note: See TracChangeset
for help on using the changeset viewer.