Last change
on this file since 5367 was
5337,
checked in by Laurent Fairhead, 4 weeks ago
|
Getting rid of dependance to dynamics
|
File size:
398 bytes
|
Line | |
---|
1 | SUBROUTINE kg_to_cm3(pplay,t_seri,tr_seri) |
---|
2 | ! |
---|
3 | USE dimphy |
---|
4 | USE infotrac_phy, ONLY: nbtr |
---|
5 | USE yomcst_mod_h |
---|
6 | IMPLICIT NONE |
---|
7 | ! |
---|
8 | |
---|
9 | |
---|
10 | ! |
---|
11 | REAL :: t_seri(klon,klev), pplay(klon,klev) |
---|
12 | REAL :: tr_seri(klon,klev) |
---|
13 | REAL :: zrho |
---|
14 | INTEGER :: i, k |
---|
15 | ! |
---|
16 | DO k = 1, klev |
---|
17 | DO i = 1, klon |
---|
18 | zrho=pplay(i,k)/t_seri(i,k)/RD |
---|
19 | tr_seri(i,k)=tr_seri(i,k)/1.e6*zrho |
---|
20 | ENDDO |
---|
21 | ENDDO |
---|
22 | ! |
---|
23 | END SUBROUTINE kg_to_cm3 |
---|
Note: See
TracBrowser
for help on using the repository browser.