cm3_to_kg.f90 Source File


This file depends on

sourcefile~~cm3_to_kg.f90~~EfferentGraph sourcefile~cm3_to_kg.f90 cm3_to_kg.f90 sourcefile~indice_sol_mod.f90 indice_sol_mod.f90 sourcefile~cm3_to_kg.f90->sourcefile~indice_sol_mod.f90 sourcefile~dimphy.f90 dimphy.f90 sourcefile~cm3_to_kg.f90->sourcefile~dimphy.f90 sourcefile~yomcst_mod_h.f90 yomcst_mod_h.f90 sourcefile~cm3_to_kg.f90->sourcefile~yomcst_mod_h.f90

Contents

Source Code


Source Code

SUBROUTINE cm3_to_kg(pplay,t_seri,tr_seri)

  USE dimphy
  USE indice_sol_mod

USE yomcst_mod_h
IMPLICIT NONE
  !


  !
  REAL :: t_seri(klon,klev), pplay(klon,klev)
  REAL :: tr_seri(klon,klev)
  REAL :: zrho
  INTEGER :: i, k
  !
  !JE20150707      RD = 1000.0 * 1.380658E-23 * 6.0221367E+23 / 28.9644
  DO k = 1, klev
  DO i = 1, klon
    zrho=pplay(i,k)/t_seri(i,k)/RD
    tr_seri(i,k)=tr_seri(i,k)*1.e6/zrho
  ENDDO
  ENDDO
  !
END SUBROUTINE cm3_to_kg