Ignore:
Timestamp:
Aug 2, 2024, 9:58:25 PM (6 months ago)
Author:
abarral
Message:

Put dimensions.h and paramet.h into modules

Location:
LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad/lmdz
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad/lmdz/aeropt_5wv_ecrad.F90

    r5158 r5159  
    11!aeropt_5wv_ecrad.F90 2022-09-20 A. Idelkadi et O. Boucher
    2 !
     2
    33     SUBROUTINE AEROPT_5WV_ECRAD(istartcol,iendcol,istartlev,iendlev, &
    44                                 config,thermodynamics,aerosol)
  • LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad/lmdz/calcul_cloud_overlap_decorr_len.F90

    r5133 r5159  
    1818!      Ld=mid_decorrelation_length si pres entre [440,680]
    1919!      Ld=high_decorrelation_length si pres < 440hPa
    20 !
     20
    2121! TO DO
    2222! Que faire de PDECORR_LEN_WATER_M ?
  • LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad/lmdz/radiation_scheme_mod.F90

    r5133 r5159  
    687687
    688688! RADIATION_SCHEME - Interface to modular radiation scheme
    689 !
     689
    690690! (C) Copyright 2015- ECMWF.
    691 !
     691
    692692! This software is licensed under the terms of the Apache Licence Version 2.0
    693693! which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
    694 !
     694
    695695! In applying this licence, ECMWF does not waive the privileges and immunities
    696696! granted to it by virtue of its status as an intergovernmental organisation
    697697! nor does it submit to any jurisdiction.
    698 !
     698
    699699! PURPOSE
    700700! -------
     
    704704!   it to the radiation scheme.  It returns net fluxes and surface
    705705!   flux components needed by the rest of the model.
    706 !
     706
    707707!   Lower case is used for variables and types taken from the
    708708!   radiation library
    709 !
     709
    710710! INTERFACE
    711711! ---------
     
    713713!    SETUP_RADIATION_SCHEME routine (in the RADIATION_SETUP module)
    714714!    should have been run first.
    715 !
     715
    716716! AUTHOR
    717717! ------
    718718!   Robin Hogan, ECMWF
    719719!   Original: 2015-09-16
    720 !
     720
    721721! MODIFICATIONS
    722722! -------------
    723 !
     723
    724724! TO DO
    725725! -----
    726 !
     726
    727727!-----------------------------------------------------------------------
    728728
  • LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad/lmdz/radiation_setup.F90

    r5133 r5159  
    22
    33! RADIATION_SETUP - Setting up modular radiation scheme
    4 !
     4
    55! AUTHOR
    66! ------
    77!   Robin Hogan, ECMWF
    88!   Original: 2015-09-16
    9 !
     9
    1010! MODIFICATIONS
    1111! -------------
    1212!   Abderrahmane Idelkadi LMD, juillet 2023
    13 !
     13
    1414!-----------------------------------------------------------------------
    1515
  • LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad/lmdz/readaerosol_optic_ecrad.F90

    r5154 r5159  
    11! $Id: readaerosol_optic_ecrad.F90
    2 !
     2
    33SUBROUTINE readaerosol_optic_ecrad(debut, aerosol_couple, ok_alw, ok_volcan, &
    44     flag_aerosol, flag_bc_internal_mixture, itap, rjourvrai, &
     
    102102  !   
    103103  !****************************************************************************************
    104   !
    105   !
     104
     105
    106106  IF (aerosol_couple) THEN   !--we get aerosols from tr_seri array from INCA
    107      !
     107
    108108     !--copy fields from INCA tr_seri
    109109     !--convert to ug m-3 unit for consistency with offline fields
    110      !
     110
    111111     itr = 0
    112112     DO iq = 1,nqtot
     
    145145     nitrcoarse(:,:)   =   tr_seri(:,:,id_CSNO3M)                        *zrho(:,:)*1.e9  ! CSNO3M
    146146     nitrinscoarse(:,:)=   tr_seri(:,:,id_CINO3M)                        *zrho(:,:)*1.e9  ! CINO3M
    147      !
     147
    148148     bcsol_pi(:,:)        =   0.0 ! ASBCM pre-ind
    149149     pomsol_pi(:,:)       =   0.0 ! ASPOMM pre-ind
     
    159159     nitrcoarse_pi(:,:)   =   0.0 ! CSNO3M pre-ind
    160160     nitrinscoarse_pi(:,:)=   0.0 ! CINO3M
    161      !
     161
    162162  ELSE !--not aerosol_couple
    163      !
     163
    164164     ! Read and interpolate sulfate
    165165     IF ( flag_aerosol .EQ. 1 .OR. flag_aerosol .EQ. 6 .OR. flag_aerosol .EQ. 7 ) THEN
     
    222222        loaddust=0.
    223223     ENDIF
    224      !
     224
    225225     ! Read and interpolate asno3m, csno3m, cino3m
    226226     IF (flag_aerosol .EQ. 6 .OR. flag_aerosol .EQ. 7 ) THEN
     
    240240        loadno3(:)=0.0
    241241     ENDIF
    242      !
     242
    243243     ! CSSO4M is set to 0 as not reliable
    244244     sulfcoarse(:,:)      =   0.0 ! CSSO4M (=SO4) + CSMSAM (=MSA)
     
    247247  ENDIF !--not aerosol_couple
    248248
    249   !
     249
    250250  ! Store all aerosols mixing ratios in one variable for radiation scheme (unit kg/kg for ECRAD)
    251251  ! present-day values
     
    281281  m_allaer_pi(:,:,id_STRAT_phy)  = 0.0
    282282
    283   !
     283
    284284  ! Calculate the total mass of all soluble aersosols (in unit ug /m3)
    285285  ! to be revisited for AR6
     
    289289  !****************************************************************************************
    290290  ! 2) Calculate optical properties for the aerosols
    291   !
     291
    292292  !****************************************************************************************
    293293  DO k = 1, klev
  • LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad/lmdz/readaerosolstrato_ecrad.F90

    r5154 r5159  
    1 !
     1
    22! $Id: readaerosolstrato_ecrad.F90 tlurton $
    3 !
     3
    44SUBROUTINE readaerosolstrato_ecrad(config, debut, ok_volcan)
    55
     
    438438
    439439    IF (.NOT. ok_volcan) THEN
    440 !
     440
    441441!--this is the default case
    442442!--stratospheric aerosols are added to both index 2 and 1 for double radiation calls
     
    464464    ENDWHERE
    465465    ENDDO
    466 !
     466
    467467    ELSE
    468 !
     468
    469469!--this is the VOLMIP case
    470470!--stratospheric aerosols are only added to index 2 in this case
     
    523523      ENDWHERE
    524524    ENDDO
    525 !
     525
    526526    ELSE
    527 !
     527
    528528! mod ThL
    529529!--this is the VOLMIP case
Note: See TracChangeset for help on using the changeset viewer.