- Timestamp:
- Feb 12, 2025, 10:18:07 AM (4 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/contrails/libf/phylmd/lmdz_cloud_optics_prop.f90
r5488 r5537 27 27 USE lmdz_cloud_optics_prop_ini , ONLY : rad_chau1, rad_chau2, rad_froid, iflag_rei 28 28 USE lmdz_cloud_optics_prop_ini , ONLY : ok_icefra_lscp, rei_max, rei_min 29 USE lmdz_cloud_optics_prop_ini , ONLY : rei_coef, rei_min_temp 29 30 USE lmdz_cloud_optics_prop_ini , ONLY : zepsec, novlp, iflag_ice_thermo, ok_new_lscp 30 31 USE lmdz_cloud_optics_prop_ini , ONLY : ok_plane_contrail, re_ice_crystals_contrails … … 303 304 zfiwp_var = 1000.*icefrac_optics(i, k)*radocond(i, k)/pclc(i, k)*rhodz(i, k) 304 305 ! Calculation of ice cloud effective radius in micron 305 IF (iflag_rei .EQ. 1) THEN 306 IF (iflag_rei .EQ. 2) THEN 307 ! in-cloud ice water content in g/m3 308 iwc = icefrac_optics(i,k) * radocond(i,k) / pclc(i,k) * zrho(i,k) * 1000. 309 ! this formula is a simplified version of the Sun 2001 one (as in the IFS model, 310 ! and which is activated for iflag_rei = 1). 311 ! In particular, the term in temperature**2 has been simplified. 312 ! The new coefs are tunable, and are by default set so that the results fit well 313 ! to the Sun 2001 formula 314 ! By default, rei_coef = 2.4 and rei_min_temp = 175. 315 ! The ranges of these parameters are determined so that the RMSE between this 316 ! formula and the one from Sun 2001 is less than 4 times the minimum RMSE 317 ! The ranges are [1.9, 2.9] for rei_coef and [160., 185.] for rei_min_temp 318 dei = rei_coef * (iwc**0.2445) * ( temp(i,k) - rei_min_temp ) 319 ! we clip the results 320 !deimin = 20. 321 deimax = 155. 322 !dei = MIN(MAX(dei, deimin), deimax) 323 dei = MIN(dei, deimax) 324 ! formula to convert effective diameter in effective radius 325 rei = 3. * SQRT(3.) / 8. * dei 326 rei = MAX(rei, rei_min) 327 ELSEIF (iflag_rei .EQ. 1) THEN 306 328 ! when we account for precipitation in the radiation scheme, 307 329 ! It is recommended to use the rei formula from Sun and Rikkus 1999 with a revision … … 415 437 ! Calculation of ice cloud effective radius in micron 416 438 417 418 IF (iflag_rei .GT. 0) THEN 419 439 IF (iflag_rei .EQ. 2) THEN 440 ! in-cloud ice water content in g/m3 441 iwc = icefrac_optics(i,k) * radocond(i,k) / pclc(i,k) * zrho(i,k) * 1000. 442 ! this formula is a simplified version of the Sun 2001 one (as in the IFS model, 443 ! and which is activated for iflag_rei = 1). 444 ! In particular, the term in temperature**2 has been simplified. 445 ! The new coefs are tunable, and are by default set so that the results fit well 446 ! to the Sun 2001 formula 447 ! By default, rei_coef = 2.4 and rei_min_temp = 175. 448 ! The ranges of these parameters are determined so that the RMSE between this 449 ! formula and the one from Sun 2001 is less than 4 times the minimum RMSE 450 ! The ranges are [1.9, 2.9] for rei_coef and [160., 185.] for rei_min_temp 451 dei = rei_coef * (iwc**0.2445) * ( temp(i,k) - rei_min_temp ) 452 ! we clip the results 453 !deimin = 20. 454 deimax = 155. 455 !dei = MIN(MAX(dei, deimin), deimax) 456 dei = MIN(dei, deimax) 457 ! formula to convert effective diameter to effective radius 458 rei = 3. * SQRT(3.) / 8. * dei 459 rei = MAX(rei, rei_min) 460 461 ELSEIF (iflag_rei .EQ. 1) THEN 420 462 ! when we account for precipitation in the radiation scheme, 421 463 ! we use the rei formula from Sun and Rikkus 1999 with a revision
Note: See TracChangeset
for help on using the changeset viewer.