Changeset 4755 for LMDZ6/trunk/libf/phylmd/StratAer
- Timestamp:
- Nov 22, 2023, 3:46:17 PM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/StratAer/stratH2O_methox.F90
r4626 r4755 4 4 SUBROUTINE stratH2O_methox(debutphy,paprs,dq_ch4mmr) 5 5 ! 6 ! output: CH4VMR in mmr (mass mixing ratio/sec: kg H2O/kg air)6 ! output: CH4VMR in MMR/s (mass mixing ratio/s or kg H2O/kg air/s) 7 7 8 8 USE netcdf95, ONLY: nf95_close, nf95_gw_var, nf95_inq_dimid, & … … 26 26 include "dimensions.h" 27 27 28 ! Variable input28 ! Input variables 29 29 REAL paprs(klon,klev+1) 30 LOGICAL, INTENT(IN) :: debutphy ! le flag de l'initialisation de la physique31 ! Variable output32 ! tend ance buffer pour appel de add_phys_tend30 LOGICAL, INTENT(IN) :: debutphy ! flag for first physiq step 31 ! Output variables 32 ! tendency buffer used in add_phys_tend subroutine (in physiq_mod) 33 33 REAL, INTENT(INOUT), DIMENSION(klon,klev) :: dq_ch4mmr 34 34 35 ! Variables locales35 ! Local variables 36 36 INTEGER n_lat ! number of latitudes in the input data 37 37 INTEGER n_lon ! number of longitudes in the input data … … 42 42 !$OMP THREADPRIVATE(mth_pre) 43 43 44 ! Champs reconstitues44 ! Reconstitutes fields 45 45 REAL paprs_glo(klon_glo,klev+1) 46 46 … … 54 54 ! levels of input data 55 55 56 !stratospheric H2O source from CH4 oxidation 57 ! fixed climatos 58 ! H2O production in VMR/sec) 56 ! Stratospheric H2O source from CH4 oxidation from fixed climatos 57 ! (H2O production in VMR/sec) 59 58 REAL, ALLOCATABLE :: CH4RVMR_in(:, :, :, :) 60 59 REAL, ALLOCATABLE :: CH4RVMR_mth(:, :, :) … … 122 121 !---correct latitudinal order,convert input from volume mixing ratio to mass mixing ratio 123 122 DO j=1,n_lat 124 ! convert VMR/s ec in mmr (mass mixing ratio/sec: kg H2O/kg air)123 ! convert VMR/s in MMR/s (mass mixing ratio/s or kg H2O/kg air/s) 125 124 ! x2 because CH4->2*H2O 126 125 CH4RVMR_mth(:,j,:) = 2*CH4RVMR_in(:,n_lat+1-j,:,mth_cur)*mH2Omol/mAIRmol
Note: See TracChangeset
for help on using the changeset viewer.