Changeset 2736 for trunk/LMDZ.GENERIC
- Timestamp:
- Jun 21, 2022, 11:24:14 AM (3 years ago)
- Location:
- trunk/LMDZ.GENERIC/libf/phystd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/LMDZ.GENERIC/libf/phystd/callcorrk.F90 ¶
r2728 r2736 308 308 !-------------------------------------------------- 309 309 310 311 print*, "callcorrk: Correlated-k data base folder:",trim(datadir)312 call getin_p("corrkdir",corrkdir)313 print*, "corrkdir = ",corrkdir314 write( tmp1, '(i3)' ) L_NSPECTI315 write( tmp2, '(i3)' ) L_NSPECTV316 banddir=trim(adjustl(tmp1))//'x'//trim(adjustl(tmp2))317 banddir=trim(adjustl(corrkdir))//'/'//trim(adjustl(banddir))318 319 call setspi ! Basic infrared properties.320 call setspv ! Basic visible properties.321 call sugas_corrk ! Set up gaseous absorption properties.322 call suaer_corrk ! Set up aerosol optical properties.310 !this block is now done at firstcall of physiq_mod 311 ! print*, "callcorrk: Correlated-k data base folder:",trim(datadir) 312 ! call getin_p("corrkdir",corrkdir) 313 ! print*, "corrkdir = ",corrkdir 314 ! write( tmp1, '(i3)' ) L_NSPECTI 315 ! write( tmp2, '(i3)' ) L_NSPECTV 316 ! banddir=trim(adjustl(tmp1))//'x'//trim(adjustl(tmp2)) 317 ! banddir=trim(adjustl(corrkdir))//'/'//trim(adjustl(banddir)) 318 319 ! call setspi ! Basic infrared properties. 320 ! call setspv ! Basic visible properties. 321 ! call sugas_corrk ! Set up gaseous absorption properties. 322 ! call suaer_corrk ! Set up aerosol optical properties. 323 323 324 324 -
TabularUnified trunk/LMDZ.GENERIC/libf/phystd/physiq_mod.F90 ¶
r2734 r2736 15 15 16 16 use ioipsl_getin_p_mod, only: getin_p 17 use radinc_h, only : L_NSPECTI,L_NSPECTV,naerkind 17 use radinc_h, only : L_NSPECTI,L_NSPECTV,naerkind, corrkdir, banddir 18 18 use watercommon_h, only : RLVTT, Psat_water,epsi,su_watercycle, RV, T_h2o_ice_liq 19 19 use generic_cloud_common_h, only : epsi_generic, Psat_generic 20 20 use thermcell_mod, only: init_thermcell_mod 21 21 use gases_h, only: gnom, gfrac 22 use radcommon_h, only: sigma, glat, grav, BWNV, WNOI, DWNI,DWNV,WNOV22 use radcommon_h, only: sigma, glat, grav, BWNV, WNOI, DWNI, DWNV, WNOV 23 23 use radii_mod, only: h2o_reffrad, co2_reffrad 24 24 use aerosol_mod, only: iaero_co2, iaero_h2o … … 74 74 use mass_redistribution_mod, only: mass_redistribution 75 75 use condensation_generic_mod, only: condensation_generic 76 use datafile_mod, only: datadir 76 77 #ifndef MESOSCALE 77 78 use vertical_layers_mod, only: presnivs, pseudoalt … … 468 469 ! Misc 469 470 character*2 :: str2 471 character(len=10) :: tmp1 472 character(len=10) :: tmp2 470 473 !================================================================================================== 471 474 … … 739 742 endif 740 743 #endif 741 744 if (corrk) then 745 ! We initialise the spectral grid here instead of 746 ! at firstcall of callcorrk so we can output XspecIR, XspecVI 747 ! when using Dynamico 748 print*, "physiq_mod: Correlated-k data base folder:",trim(datadir) 749 call getin_p("corrkdir",corrkdir) 750 print*,"corrkdir = ", corrkdir 751 write (tmp1, '(i3)') L_NSPECTI 752 write (tmp2, '(i3)') L_NSPECTV 753 banddir=trim(trim(adjustl(tmp1))//'x'//trim(adjustl(tmp2))) 754 banddir=trim(trim(adjustl(corrkdir))//'/'//trim(adjustl(banddir))) 755 call setspi !Basic infrared properties. 756 call setspv ! Basic visible properties. 757 call sugas_corrk ! Set up gaseous absorption properties. 758 call suaer_corrk ! Set up aerosol optical properties. 759 endif 742 760 ! XIOS outputs 743 761 #ifdef CPP_XIOS … … 745 763 write(*,*) "physiq: call initialize_xios_output" 746 764 call initialize_xios_output(pday,ptime,ptimestep,daysec, & 747 year_day,presnivs,pseudoalt )765 year_day,presnivs,pseudoalt,WNOI,WNOV) 748 766 #endif 749 767 write(*,*) "physiq: end of firstcall"
Note: See TracChangeset
for help on using the changeset viewer.