Changeset 5160 for LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad
- Timestamp:
- Aug 3, 2024, 2:56:58 PM (5 months ago)
- Location:
- LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad/driver/test_aerosol_optics_description.F90
r5159 r5160 33 33 34 34 ! These two should issue a warning that the aerosol type is ambiguous 35 print*, 'DD: ', aer_desc%get_index('DD',.false.)36 print*, 'DD (bin=2): ', aer_desc%get_index('DD',.false.,ibin=2)35 PRINT *, 'DD: ', aer_desc%get_index('DD',.false.) 36 PRINT *, 'DD (bin=2): ', aer_desc%get_index('DD',.false.,ibin=2) 37 37 ! Indicate preferred aerosol optical model, after which further 38 38 ! calls will prefer one particular model 39 print*, 'preferred_optical_model(DD,Fouquart)'39 PRINT *, 'preferred_optical_model(DD,Fouquart)' 40 40 call aer_desc%preferred_optical_model('DD','Fouquart') 41 print*, 'DD (bin=2): ', aer_desc%get_index('DD',.false.,ibin=2)42 print*, 'DD (bin=2,model=Woodward): ', aer_desc%get_index('DD',.false.,ibin=2,optical_model_str="Woodward")43 print*, 'DD (bin=2,model=Woodward2001): ', aer_desc%get_index('DD',.false.,ibin=2,optical_model_str="Woodward2001")41 PRINT *, 'DD (bin=2): ', aer_desc%get_index('DD',.false.,ibin=2) 42 PRINT *, 'DD (bin=2,model=Woodward): ', aer_desc%get_index('DD',.false.,ibin=2,optical_model_str="Woodward") 43 PRINT *, 'DD (bin=2,model=Woodward2001): ', aer_desc%get_index('DD',.false.,ibin=2,optical_model_str="Woodward2001") 44 44 ! This should fail to find a match, returning zero 45 print*, 'DD (model=Nobody): ', aer_desc%get_index('DD',.false.,optical_model_str="Nobody")46 print*, 'SS (bin=3): ', aer_desc%get_index('SS',.true.,ibin=3)45 PRINT *, 'DD (model=Nobody): ', aer_desc%get_index('DD',.false.,optical_model_str="Nobody") 46 PRINT *, 'SS (bin=3): ', aer_desc%get_index('SS',.true.,ibin=3) 47 47 48 48 end program test_aerosol_optics_description -
LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad/driver/test_fast_expm.F90
r4773 r5160 18 18 call fast_expm_exchange_3(1,1,a(1:1),b(1:1),c(1:1),d(1:1),r) 19 19 20 print*, r21 print*, 0.000000122 print*, epsilon(1.0_jprb)20 PRINT *, r 21 PRINT *, 0.0000001 22 PRINT *, epsilon(1.0_jprb) 23 23 24 24 end program test_fast_expm -
LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad/driver/test_random_number_generator.F90
r5158 r5160 19 19 integer :: jl 20 20 21 print*, 'working_fp_precision = ', jprb21 PRINT *, 'working_fp_precision = ', jprb 22 22 23 23 if (IRngType == IRngNative) then 24 print*, "rng_type = 'native'"24 PRINT *, "rng_type = 'native'" 25 25 else 26 print*, "rng_type = 'native'"26 PRINT *, "rng_type = 'native'" 27 27 end if 28 28 … … 30 30 & nmaxstreams=streammax) 31 31 DO jl = 1,1 32 print*, 'initial_state = [ ', int(random_number_generator%istate(1:streammax),jpib), ' ]'32 PRINT *, 'initial_state = [ ', int(random_number_generator%istate(1:streammax),jpib), ' ]' 33 33 call random_number_generator%uniform_distribution(vec) 34 print*, 'uniform_deviates = [ ', vec, ' ]'35 print*, 'final_state = [ ', int(random_number_generator%istate(1:streammax),jpib), ' ]'34 PRINT *, 'uniform_deviates = [ ', vec, ' ]' 35 PRINT *, 'final_state = [ ', int(random_number_generator%istate(1:streammax),jpib), ' ]' 36 36 end do 37 37 -
LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad/lmdz/readaerosolstrato_ecrad.F90
r5159 r5160 124 124 !--check mth_cur 125 125 IF (mth_cur.LT.1.OR.mth_cur.GT.12) THEN 126 print*,'probleme avec le mois dans readaerosolstrat =', mth_cur126 PRINT *,'probleme avec le mois dans readaerosolstrat =', mth_cur 127 127 ENDIF 128 128 … … 148 148 IF (grid_type/=unstructured) THEN 149 149 IF (n_lat.NE.nbp_lat) THEN 150 print*, 'latitude=', n_lat, nbp_lat150 PRINT *, 'latitude=', n_lat, nbp_lat 151 151 abort_message='Le nombre de lat n est pas egal a nbp_lat' 152 152 CALL abort_physic(modname,abort_message,1) … … 165 165 CALL nf95_gw_var(ncid_in, varid, wav) 166 166 n_wav = size(wav) 167 print*, 'WAV aerosol strato=', n_wav, wav167 PRINT *, 'WAV aerosol strato=', n_wav, wav 168 168 ! IF (n_wav.NE.config%n_bands_sw) THEN 169 169 ! abort_message='Le nombre de wav n est pas egal a config%n_bands_sw' … … 178 178 CALL nf95_inq_varid(ncid_in, "TAU_SUN", varid) 179 179 ncerr = nf90_get_var(ncid_in, varid, tauaerstrat) 180 print*,'code erreur readaerosolstrato=', ncerr, varid180 PRINT *,'code erreur readaerosolstrato=', ncerr, varid 181 181 182 182 !--reading stratospheric aerosol omega per layer 183 183 CALL nf95_inq_varid(ncid_in, "OME_SUN", varid) 184 184 ncerr = nf90_get_var(ncid_in, varid, pizaerstrat) 185 print*,'code erreur readaerosolstrato=', ncerr, varid185 PRINT *,'code erreur readaerosolstrato=', ncerr, varid 186 186 187 187 !--reading stratospheric aerosol g per layer 188 188 CALL nf95_inq_varid(ncid_in, "GGG_SUN", varid) 189 189 ncerr = nf90_get_var(ncid_in, varid, cgaerstrat) 190 print*,'code erreur readaerosolstrato sw=', ncerr, varid190 PRINT *,'code erreur readaerosolstrato sw=', ncerr, varid 191 191 192 192 CALL nf95_close(ncid_in) … … 256 256 CALL nf95_gw_var(ncid_in, varid, wav) 257 257 n_wav = size(wav) 258 print*, 'WAV aerosol strato=', n_wav, wav258 PRINT *, 'WAV aerosol strato=', n_wav, wav 259 259 ! IF (n_wav.NE.config%n_bands_lw) THEN 260 260 ! abort_message='Le nombre de wav n est pas egal a config%n_bands_lw' … … 271 271 CALL nf95_inq_varid(ncid_in, "TAU_EAR", varid) 272 272 ncerr = nf90_get_var(ncid_in, varid, taulwaerstrat) 273 print*,'code erreur readaerosolstrato lw=', ncerr, varid273 PRINT *,'code erreur readaerosolstrato lw=', ncerr, varid 274 274 275 275 ! add/mod ThL … … 278 278 CALL nf95_inq_varid(ncid_in, "OME_EAR", varid) 279 279 ncerr = nf90_get_var(ncid_in, varid, pizlwaerstrat) 280 print*,'code erreur readaerosolstrato lw=', ncerr, varid280 PRINT *,'code erreur readaerosolstrato lw=', ncerr, varid 281 281 282 282 !--reading stratospheric aerosol g per layer 283 283 CALL nf95_inq_varid(ncid_in, "GGG_EAR", varid) 284 284 ncerr = nf90_get_var(ncid_in, varid, cglwaerstrat) 285 print*,'code erreur readaerosolstrato lw=', ncerr, varid285 PRINT *,'code erreur readaerosolstrato lw=', ncerr, varid 286 286 287 287 CALL nf95_close(ncid_in) -
LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad/radiation/radiation_monochromatic.F90
r5159 r5160 293 293 & ', longwave optical depth = ', & 294 294 & sum(od_lw_cloud(1,:,jcol)*cloud%fraction(jcol,:)) 295 ! print*, 'LWP = ', sum(lwp_kg_m2(:,istartcol)*cloud%fraction(istartcol,:))295 ! PRINT *, 'LWP = ', sum(lwp_kg_m2(:,istartcol)*cloud%fraction(istartcol,:)) 296 296 end do 297 297 end if
Note: See TracChangeset
for help on using the changeset viewer.