- Timestamp:
- Mar 29, 2023, 3:14:27 PM (20 months ago)
- Location:
- LMDZ6/branches/LMDZ_ECRad
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/LMDZ_ECRad
- Property svn:mergeinfo changed
-
LMDZ6/branches/LMDZ_ECRad/libf/phylmd/surf_landice_mod.F90
r3974 r4482 30 30 USE cpl_mod, ONLY : cpl_send_landice_fields 31 31 USE calcul_fluxs_mod 32 USE phys_output_var_mod 32 USE phys_output_var_mod, ONLY : snow_o,zfra_o 33 33 !FC 34 34 USE ioipsl_getin_p_mod, ONLY : getin_p … … 115 115 INTEGER :: i,j,nt 116 116 REAL, DIMENSION(klon) :: fqfonte,ffonte 117 REAL, DIMENSION(klon) :: run_off_lic_frac 117 118 REAL, DIMENSION(klon) :: emis_new !Emissivity 118 119 REAL, DIMENSION(klon) :: swdown,lwdown … … 156 157 PRINT*, 'alb_nir_sno_lic',alb_nir_sno_lic 157 158 158 ! z0m=1.e-3159 ! z0h = z0m160 159 firstcall=.false. 161 160 ENDIF … … 351 350 ! 352 351 !**************************************************************************************** 353 z0m =1.e-3354 z0h = z0 m355 z0m = SQRT(z0m**2+rugoro**2)352 z0m = z0m_landice 353 z0h = z0h_landice 354 !z0m = SQRT(z0m**2+rugoro**2) 356 355 357 356 … … 363 362 ! Send run-off on land-ice to coupler if coupled ocean. 364 363 ! run_off_lic has been calculated in fonte_neige or surf_inlandsis 365 ! 366 !**************************************************************************************** 367 IF (type_ocean=='couple') THEN 368 CALL cpl_send_landice_fields(itime, knon, knindex, run_off_lic) 364 ! If landice_opt>=2, corresponding call is done from surf_land_orchidee 365 !**************************************************************************************** 366 IF (type_ocean=='couple' .AND. landice_opt .LT. 2) THEN 367 ! Compress fraction where run_off_lic is active (here all pctsrf(is_lic)) 368 run_off_lic_frac(:)=0.0 369 DO j = 1, knon 370 i = knindex(j) 371 run_off_lic_frac(j) = pctsrf(i,is_lic) 372 ENDDO 373 374 CALL cpl_send_landice_fields(itime, knon, knindex, run_off_lic, run_off_lic_frac) 369 375 ENDIF 370 376 … … 373 379 374 380 375 !****************************************************************************************376 ! Etienne: comment these lines because of duplication just below377 ! snow_o=0.378 ! zfra_o = 0.379 ! DO j = 1, knon380 ! i = knindex(j)381 ! snow_o(i) = snow(j)382 ! zfra_o(i) = zfra(j)383 ! ENDDO384 !385 381 !**************************************************************************************** 386 382 snow_o=0.
Note: See TracChangeset
for help on using the changeset viewer.