- Timestamp:
- Feb 21, 2023, 3:26:41 PM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/LMDZ_ECRad/libf/phylmd/ecrad/radiation_save.F90
r3908 r4444 33 33 ! thermodynamics object 34 34 subroutine save_fluxes(file_name, config, thermodynamics, flux, & 35 & iverbose, is_hdf5_file, experiment_name) 35 & iverbose, is_hdf5_file, experiment_name, & 36 & is_double_precision) 36 37 37 38 use yomhook, only : lhook, dr_hook … … 50 51 integer, optional, intent(in) :: iverbose 51 52 logical, optional, intent(in) :: is_hdf5_file 53 logical, optional, intent(in) :: is_double_precision 52 54 character(len=*), optional, intent(in) :: experiment_name 53 55 … … 96 98 ! output file column varies most slowly so need to transpose 97 99 call out_file%transpose_matrices(.true.) 100 101 ! Set default precision for file, if specified 102 if (present(is_double_precision)) then 103 call out_file%double_precision(is_double_precision) 104 end if 98 105 99 106 ! Spectral fluxes in memory are dimensioned (nband,ncol,nlev), but … … 885 892 & dim2_name="column", dim1_name="level", & 886 893 & units_str="m", long_name="Ice effective radius") 887 if (a llocated(cloud%re_ice)) then894 if (associated(cloud%re_ice)) then 888 895 call out_file%define_variable("re_ice", & 889 896 & dim2_name="column", dim1_name="level", & … … 966 973 call out_file%put("q_ice", cloud%q_ice) 967 974 call out_file%put("re_liquid", cloud%re_liq) 968 if (a llocated(cloud%re_ice)) then975 if (associated(cloud%re_ice)) then 969 976 call out_file%put("re_ice", cloud%re_ice) 970 977 end if
Note: See TracChangeset
for help on using the changeset viewer.