source: LMDZ6/trunk/libf/phylmd/Dust/cm3_to_kg.f90 @ 5327

Last change on this file since 5327 was 5285, checked in by abarral, 3 weeks ago

As discussed internally, remove generic ONLY: ... for new _mod_h modules

File size: 520 bytes
Line 
1SUBROUTINE cm3_to_kg(pplay,t_seri,tr_seri)
2
3  USE dimphy
4  USE infotrac
5  USE indice_sol_mod
6
7  USE dimensions_mod, ONLY: iim, jjm, llm, ndm
8USE yomcst_mod_h
9IMPLICIT NONE
10  !
11
12
13  !
14  REAL :: t_seri(klon,klev), pplay(klon,klev)
15  REAL :: tr_seri(klon,klev)
16  REAL :: zrho
17  INTEGER :: i, k
18  !
19  !JE20150707      RD = 1000.0 * 1.380658E-23 * 6.0221367E+23 / 28.9644
20  DO k = 1, klev
21  DO i = 1, klon
22    zrho=pplay(i,k)/t_seri(i,k)/RD
23    tr_seri(i,k)=tr_seri(i,k)*1.e6/zrho
24  ENDDO
25  ENDDO
26  !
27END SUBROUTINE cm3_to_kg
Note: See TracBrowser for help on using the repository browser.