Last change
on this file since 5310 was
5285,
checked in by abarral, 7 weeks ago
|
As discussed internally, remove generic ONLY: ... for new _mod_h modules
|
File size:
520 bytes
|
Rev | Line | |
---|
[5246] | 1 | SUBROUTINE cm3_to_kg(pplay,t_seri,tr_seri) |
---|
[2630] | 2 | |
---|
[5246] | 3 | USE dimphy |
---|
| 4 | USE infotrac |
---|
| 5 | USE indice_sol_mod |
---|
[2630] | 6 | |
---|
[5271] | 7 | USE dimensions_mod, ONLY: iim, jjm, llm, ndm |
---|
[5285] | 8 | USE yomcst_mod_h |
---|
[5271] | 9 | IMPLICIT NONE |
---|
[5246] | 10 | ! |
---|
[5271] | 11 | |
---|
[5274] | 12 | |
---|
[5246] | 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 | ! |
---|
| 27 | END SUBROUTINE cm3_to_kg |
---|
Note: See
TracBrowser
for help on using the repository browser.