chgres_cube  1.3.0
 All Data Structures Files Functions Variables
grib2_util Module Reference

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...
 

Detailed Description

Utilities for use when reading grib2 data.

This module contains routines to:

  • convert from RH to specific humidity
  • convert from omega to dzdt.

George Gayno NCEP/EMC

Definition at line 12 of file grib2_util.F90.

Member Function/Subroutine Documentation

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.

Parameters
[in,out]omegaon input, vertical velocity on output
[in]ppressure
[in]ttemperature
[in]qspecific humidity
[in]clblower bounds of indices processed by this mpi task
[in]cubupper bounds of indices processed by this mpi task
Author
Larissa Reames
Jeff Beck

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.

Parameters
[in,out]rh_sphumrel humidity on input. spec hum on output.
[in]ppressure in Pa
[in]ttemperature
Author
Larissa Reames
Jeff Beck

Definition at line 29 of file grib2_util.F90.

Referenced by input_data::read_input_atm_grib2_file().


The documentation for this module was generated from the following file: