Changeset 5675 for LMDZ6/trunk/libf
- Timestamp:
- May 23, 2025, 2:36:20 PM (4 weeks ago)
- Location:
- LMDZ6/trunk/libf/phylmd/ecrad/lmdz
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified LMDZ6/trunk/libf/phylmd/ecrad/lmdz/radiation_scheme_mod.f90 ¶
r5655 r5675 65 65 66 66 USE mod_phys_lmdz_para 67 use geometry_mod, only: longitude_deg, latitude_deg 67 68 68 69 IMPLICIT NONE … … 260 261 if (debut_ecrad) then 261 262 call SETUP_RADIATION_SCHEME(loutput,namelist_file,rad_config,driver_config) 262 debut_ecrad=.false.263 263 endif 264 264 !$OMP END MASTER … … 541 541 ! endif 542 542 ! endif 543 if (debut_ecrad .and. driver_config%do_save_inputs) & 544 call save_inputs('inputs.nc', rad_config, single_level, thermodynamics, & 545 gas, cloud, aerosol, lat = latitude_deg, lon = longitude_deg) 546 543 547 CALL radiation(KLON, KLEV, KIDIA, KFDIA, rad_config, & 544 548 & single_level, thermodynamics, gas, cloud, aerosol, flux) … … 658 662 659 663 IF (LHOOK) CALL DR_HOOK('RADIATION_SCHEME',1,ZHOOK_HANDLE) 664 debut_ecrad=.false. 660 665 661 666 END SUBROUTINE RADIATION_SCHEME -
TabularUnified LMDZ6/trunk/libf/phylmd/ecrad/lmdz/setup_config_from_lmdz.f90 ¶
r5268 r5675 27 27 real(jprb) :: high_decorrelation_length = 2000.0_jprb 28 28 29 ! Save inputs in "inputs.nc" 30 logical :: do_save_inputs 29 31 contains 30 32 procedure :: read => read_config_from_namelist … … 57 59 real(jprb) :: mid_decorrelation_length 58 60 real(jprb) :: high_decorrelation_length 61 logical :: do_save_inputs 59 62 60 63 namelist /radiation_driver/ ok_effective_size, ok_separation, & … … 63 66 & high_inv_effective_size, middle_inv_effective_size, low_inv_effective_size, & 64 67 & cloud_inhom_separation_factor, cloud_separation_scale_surface, & 65 & cloud_separation_scale_toa, cloud_separation_scale_power 68 & cloud_separation_scale_toa, cloud_separation_scale_power, & 69 do_save_inputs 66 70 67 71 ok_effective_size = .false. … … 80 84 mid_decorrelation_length = 2000.0_jprb 81 85 high_decorrelation_length = 2000.0_jprb 86 do_save_inputs = .false. 82 87 83 88 ! Open the namelist file and read the radiation_driver namelist … … 118 123 this%middle_inv_effective_size = middle_inv_effective_size 119 124 this%low_inv_effective_size = low_inv_effective_size 125 this%do_save_inputs = do_save_inputs 120 126 121 127 end subroutine read_config_from_namelist
Note: See TracChangeset
for help on using the changeset viewer.