chgres_cube
1.4.0
|
Utilities for use when reading grib2 data. More...
Public Member Functions | |
subroutine | convert_omega (omega, p, t, q, clb, cub) |
Convert omega to vertical velocity. More... | |
subroutine | rh2spfh (rh_sphum, p, t) |
Convert relative humidity to specific humidity. More... | |
Utilities for use when reading grib2 data.
This module contains routines to:
George Gayno NCEP/EMC
Definition at line 12 of file grib2_util.F90.
subroutine grib2_util::convert_omega | ( | real(esmf_kind_r8), dimension(:,:,:), pointer | omega, |
real(esmf_kind_r8), dimension(:,:,:), pointer | p, | ||
real(esmf_kind_r8), dimension(:,:,:), pointer | t, | ||
real(esmf_kind_r8), dimension(:,:,:), pointer | q, | ||
integer, dimension(3) | clb, | ||
integer, dimension(3) | cub | ||
) |
Convert omega to vertical velocity.
[in,out] | omega | on input, vertical velocity on output |
[in] | p | pressure |
[in] | t | temperature |
[in] | q | specific humidity |
[in] | clb | lower bounds of indices processed by this mpi task |
[in] | cub | upper bounds of indices processed by this mpi task |
Definition at line 70 of file grib2_util.F90.
Referenced by input_data::read_input_atm_grib2_file().
subroutine grib2_util::rh2spfh | ( | real(esmf_kind_r4), dimension(i_input,j_input), intent(inout) | rh_sphum, |
real(esmf_kind_r8), intent(in) | p, | ||
real(esmf_kind_r8), dimension(i_input,j_input), intent(in) | t | ||
) |
Convert relative humidity to specific humidity.
[in,out] | rh_sphum | rel humidity on input. spec hum on output. |
[in] | p | pressure in Pa |
[in] | t | temperature |
Definition at line 29 of file grib2_util.F90.
Referenced by input_data::read_input_atm_grib2_file().