Last change
on this file since 5354 was
5337,
checked in by Laurent Fairhead, 3 weeks ago
|
Getting rid of dependance to dynamics
|
File size:
398 bytes
|
Rev | Line | |
---|
[5246] | 1 | SUBROUTINE kg_to_cm3(pplay,t_seri,tr_seri) |
---|
| 2 | ! |
---|
| 3 | USE dimphy |
---|
[5337] | 4 | USE infotrac_phy, ONLY: nbtr |
---|
[5285] | 5 | USE yomcst_mod_h |
---|
[5271] | 6 | IMPLICIT NONE |
---|
[5246] | 7 | ! |
---|
[5271] | 8 | |
---|
[5274] | 9 | |
---|
[5246] | 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.