Last change
on this file since 5301 was
5285,
checked in by abarral, 4 days ago
|
As discussed internally, remove generic ONLY: ... for new _mod_h modules
|
File size:
429 bytes
|
Line | |
---|
1 | SUBROUTINE kg_to_cm3(pplay,t_seri,tr_seri) |
---|
2 | ! |
---|
3 | USE dimphy |
---|
4 | USE infotrac |
---|
5 | USE dimensions_mod, ONLY: iim, jjm, llm, ndm |
---|
6 | USE yomcst_mod_h |
---|
7 | IMPLICIT NONE |
---|
8 | ! |
---|
9 | |
---|
10 | |
---|
11 | ! |
---|
12 | REAL :: t_seri(klon,klev), pplay(klon,klev) |
---|
13 | REAL :: tr_seri(klon,klev) |
---|
14 | REAL :: zrho |
---|
15 | INTEGER :: i, k |
---|
16 | ! |
---|
17 | DO k = 1, klev |
---|
18 | DO i = 1, klon |
---|
19 | zrho=pplay(i,k)/t_seri(i,k)/RD |
---|
20 | tr_seri(i,k)=tr_seri(i,k)/1.e6*zrho |
---|
21 | ENDDO |
---|
22 | ENDDO |
---|
23 | ! |
---|
24 | END SUBROUTINE kg_to_cm3 |
---|
Note: See
TracBrowser
for help on using the repository browser.