FMS  2024.03
Flexible Modeling System
sat_vapor_pres_mod

Routines for computing the saturation vapor pressure (es), the specific humidity (qs) and vapor mixing ratio (mrs) Given a specified relative humidity, calculates es, qs, and mrs, as well as their derivatives with respect to temperature, and also includes routines to initialize the look-up table. This module contains routines for determining the saturation vapor pressure (ES) from lookup tables constructed using equations given in the Smithsonian tables. The ES lookup tables are valid between -160C and +100C (approx 113K to 373K). More...

Data Types

interface  check_1d
 
interface  compute_mrs
 For the given temperatures, pressures and optionally vapor mixing ratio, returns the vapor mixing ratio at saturation (optionally at relative humidity hc instead of at saturation) and optionally the derivative of saturation vapor mixing ratio w.r.t. temperature, and the saturation vapor pressure. More...
 
interface  compute_qs
 For the given temperatures, pressures and optionally vapor specific humidity, returns the specific humidity at saturation (optionally at relative humidity hc instead of at saturation) and optionally the derivative of saturation specific humidity w.r.t. temperature, and the saturation vapor pressure. More...
 
interface  descomp
 Provided for backward compatibility (to be removed soon) More...
 
interface  escomp
 Provided for backward compatibility (to be removed soon) More...
 
interface  lookup_des
 For the given temperatures, returns the derivative of saturation vapor pressure with respect to temperature. More...
 
interface  lookup_des2
 
interface  lookup_des3
 
interface  lookup_es
 For the given temperatures, returns the saturation vapor pressures. More...
 
interface  lookup_es2
 
interface  lookup_es2_des2
 
interface  lookup_es3
 
interface  lookup_es3_des3
 
interface  lookup_es_des
 For the given temperatures, returns the saturation vapor pressure and the derivative of saturation vapor pressure with respect to temperature. More...
 
interface  show_all_bad
 
interface  temp_check
 

Functions/Subroutines

integer function check_1d_ (temp)
 
integer function check_2d_ (temp)
 
subroutine compute_mrs_0d_ (temp, press, mrsat, mr, hc, dmrsdT, esat, err_msg, es_over_liq, es_over_liq_and_ice)
 
subroutine compute_mrs_1d_ (temp, press, mrsat, mr, hc, dmrsdT, esat, err_msg, es_over_liq, es_over_liq_and_ice)
 
subroutine compute_mrs_2d_ (temp, press, mrsat, mr, hc, dmrsdT, esat, err_msg, es_over_liq, es_over_liq_and_ice)
 
subroutine compute_mrs_3d_ (temp, press, mrsat, mr, hc, dmrsdT, esat, err_msg, es_over_liq, es_over_liq_and_ice)
 
subroutine compute_qs_0d_ (temp, press, qsat, q, hc, dqsdT, esat, err_msg, es_over_liq, es_over_liq_and_ice)
 
subroutine compute_qs_1d_ (temp, press, qsat, q, hc, dqsdT, esat, err_msg, es_over_liq, es_over_liq_and_ice)
 
subroutine compute_qs_2d_ (temp, press, qsat, q, hc, dqsdT, esat, err_msg, es_over_liq, es_over_liq_and_ice)
 
subroutine compute_qs_3d_ (temp, press, qsat, q, hc, dqsdT, esat, err_msg, es_over_liq, es_over_liq_and_ice)
 
subroutine lookup_des2_0d_ (temp, desat, err_msg)
 
subroutine lookup_des2_1d_ (temp, desat, err_msg)
 
subroutine lookup_des2_2d_ (temp, desat, err_msg)
 
subroutine lookup_des2_3d_ (temp, desat, err_msg)
 
subroutine lookup_des3_0d_ (temp, desat, err_msg)
 
subroutine lookup_des3_1d_ (temp, desat, err_msg)
 
subroutine lookup_des3_2d_ (temp, desat, err_msg)
 
subroutine lookup_des3_3d_ (temp, desat, err_msg)
 
subroutine lookup_des_0d_ (temp, desat, err_msg)
 
subroutine lookup_des_1d_ (temp, desat, err_msg)
 
subroutine lookup_des_2d_ (temp, desat, err_msg)
 
subroutine lookup_des_3d_ (temp, desat, err_msg)
 
subroutine lookup_es2_0d_ (temp, esat, err_msg)
 
subroutine lookup_es2_1d_ (temp, esat, err_msg)
 
subroutine lookup_es2_2d_ (temp, esat, err_msg)
 
subroutine lookup_es2_3d_ (temp, esat, err_msg)
 
subroutine lookup_es2_des2_0d_ (temp, esat, desat, err_msg)
 
subroutine lookup_es2_des2_1d_ (temp, esat, desat, err_msg)
 
subroutine lookup_es2_des2_2d_ (temp, esat, desat, err_msg)
 
subroutine lookup_es2_des2_3d_ (temp, esat, desat, err_msg)
 
subroutine lookup_es3_0d_ (temp, esat, err_msg)
 
subroutine lookup_es3_1d_ (temp, esat, err_msg)
 
subroutine lookup_es3_2d_ (temp, esat, err_msg)
 
subroutine lookup_es3_3d_ (temp, esat, err_msg)
 
subroutine lookup_es3_des3_0d_ (temp, esat, desat, err_msg)
 
subroutine lookup_es3_des3_1d_ (temp, esat, desat, err_msg)
 
subroutine lookup_es3_des3_2d_ (temp, esat, desat, err_msg)
 
subroutine lookup_es3_des3_3d_ (temp, esat, desat, err_msg)
 
subroutine lookup_es_0d_ (temp, esat, err_msg)
 
subroutine lookup_es_1d_ (temp, esat, err_msg)
 
subroutine lookup_es_2d_ (temp, esat, err_msg)
 
subroutine lookup_es_3d_ (temp, esat, err_msg)
 
subroutine lookup_es_des_0d_ (temp, esat, desat, err_msg)
 
subroutine lookup_es_des_1d_ (temp, esat, desat, err_msg)
 
subroutine lookup_es_des_2d_ (temp, esat, desat, err_msg)
 
subroutine lookup_es_des_3d_ (temp, esat, desat, err_msg)
 
subroutine, public sat_vapor_pres_init (err_msg)
 
subroutine show_all_bad_0d_ (temp)
 
subroutine show_all_bad_1d_ (temp)
 
subroutine show_all_bad_2d_ (temp)
 
subroutine show_all_bad_3d_ (temp)
 
subroutine temp_check_1d_ (temp)
 
subroutine temp_check_2d_ (temp)
 
subroutine temp_check_3d_ (temp)
 

Variables

logical construct_table_wrt_liq = .false.
 
logical construct_table_wrt_liq_and_ice = .false.
 
logical do_simple =.false.
 
real(r8_kind) dtinv
 
real(r8_kind), parameter epsilo = real(RDGAS, r8_kind)/real(RVGAS, r8_kind)
 
integer esres = 10
 
logical module_is_initialized = .false.
 
integer nlim
 
integer nsize
 
logical show_all_bad_values =.false.
 
logical show_bad_value_count_by_slice =.true.
 
integer stdoutunit =0
 
integer, public tcmax = 100
 
integer, public tcmin = -160
 
real(r8_kind) teps
 
real(r8_kind) tmin
 
logical use_exact_qs = .false.
 
real(r8_kind), parameter zvir = real(RVGAS, r8_kind)/real(RDGAS, r8_kind) - 1.0_r8_kind
 

Detailed Description

Routines for computing the saturation vapor pressure (es), the specific humidity (qs) and vapor mixing ratio (mrs) Given a specified relative humidity, calculates es, qs, and mrs, as well as their derivatives with respect to temperature, and also includes routines to initialize the look-up table. This module contains routines for determining the saturation vapor pressure (ES) from lookup tables constructed using equations given in the Smithsonian tables. The ES lookup tables are valid between -160C and +100C (approx 113K to 373K).

The values of ES are computed over ice from -160C to -20C, over water from 0C to 100C, and a blended value (over water and ice) from -20C to 0C.

Routines are also included to calculate the saturation specific humidity and saturation mixing ratio for vapor, and their deriv- atives with respect to temperature. By default, the values returned are those at saturation; optionally, values of q and mr at a spec- ified relative humidity may instead be returned. Two forms are available; the approximate form that has been traditionally used in GCMs, and an exact form provided by SJ Lin in which saturation is reached while maintaining constant pressure and temperature.

This version was written for non-vector machines. See the <LINK SRC="#NOTES">notes</LINK> section for details on vectorization.

arguments

temp intent in temperature in degrees kelvin es intent out saturation vapor pressure in Pascals des intent out derivative of saturation vapor pressure with respect to temperature (Pascals/degree) press intent in atmospheric pressure in Pascals qs intent out specific humidity at relative humidity hc (kg(vapor) / kg(moist air) mrs intent out mixing ratio at relative humidity hc (kg(vapor) / kg(dry air)

optional arguments

q intent in vapor specific humidity (kg(vapor) / kg(moist air) hc intent in relative humidity at which output fields are desired: default is 100 % dqsdT intent out derivative of saturation specific humidity with respect to temperature (kg(vapor) / kg(moist air) /degree) mr intent in vapor mixing ratio (kg(vapor) / kg(dry air) dmrsdT intent out derivative of saturation mixing ratio with respect to temperature (kg(vapor) / kg(dry air) /degree) esat intent out saturation vapor pressure (Pascals) err_msg intent out character string to hold error message es_over_liq intent in use es table wrt liquid only

Example Usages:

         call lookup_es  (temp, es, err_msg)

         call lookup_des (temp, des, err_msg)

         call lookup_es_des (temp, es, des, err_msg)

         call lookup_es2 (temp, es, err_msg)

         call lookup_des2 (temp, des, err_msg)

         call lookup_es2_des2 (temp, es, des, err_msg)

         call compute_qs (temp, press, qs, q, hc, dqsdT, esat,
                          err_msg, es_over_liq)

         call compute_mrs (temp, press, mrs, mr, hc, dmrsdT, esat,
                           err_msg, es_over_liq)

Data Type Documentation

◆ sat_vapor_pres_mod::check_1d

interface sat_vapor_pres_mod::check_1d

Definition at line 719 of file sat_vapor_pres.F90.

Private Member Functions

 check_1d_r4
 
 check_1d_r8
 

◆ sat_vapor_pres_mod::compute_mrs

interface sat_vapor_pres_mod::compute_mrs

For the given temperatures, pressures and optionally vapor mixing ratio, returns the vapor mixing ratio at saturation (optionally at relative humidity hc instead of at saturation) and optionally the derivative of saturation vapor mixing ratio w.r.t. temperature, and the saturation vapor pressure.

For the input temperature and pressure these routines return the vapor mixing ratio (mrsat) at saturation (unless optional argument hc is used to specify the relative humidity at which mrsat should apply) and, if desired, the derivative of mrsat w.r.t temperature (dmrsdT) and / or the saturation vapor pressure (esat). If the optional input argument specific humidity (mr) is present, the exact expression for mrs is used; if qr is not present the tradit- ional form (valid at saturation) is used. if the optional mrsat derivative argument is present, the derivative of mrsat w.r.t. temperature will also be returned, defined consistent with the expression used for mrsat. The return values are derived from lookup tables (see notes below).


Example usage:

call compute_mrs( temp, press, mrsat, mr, hc, dmrsdt, esat,
err_msg )

Definition at line 683 of file sat_vapor_pres.F90.

Private Member Functions

 compute_mrs_0d_r4
 
 compute_mrs_0d_r8
 
 compute_mrs_1d_r4
 
 compute_mrs_1d_r8
 
 compute_mrs_2d_r4
 
 compute_mrs_2d_r8
 
 compute_mrs_3d_r4
 
 compute_mrs_3d_r8
 

◆ sat_vapor_pres_mod::compute_qs

interface sat_vapor_pres_mod::compute_qs

For the given temperatures, pressures and optionally vapor specific humidity, returns the specific humidity at saturation (optionally at relative humidity hc instead of at saturation) and optionally the derivative of saturation specific humidity w.r.t. temperature, and the saturation vapor pressure.

For the input temperature and pressure these routines return the specific humidity (qsat) at saturation (unless optional argument hc is used to specify the relative humidity at which qsat should apply) and, if desired, the derivative of qsat w.r.t temperature (dqsdT) and / or the saturation vapor pressure (esat). If the optional input argument specific humidity (q) is present, the exact expression for qs is used; if q is not present the tradit- ional form (valid at saturation) is used. if the optional qsat derivative argument is present, the derivative of qsat w.r.t. temperature will also be returned, defined consistent with the expression used for qsat. The return values are derived from lookup tables (see notes below).

Example usage:

call compute_qs( temp, press, qsat, q, hc, dqsdt, esat, err_msg )

Definition at line 581 of file sat_vapor_pres.F90.

Private Member Functions

 compute_qs_0d_r4
 
 compute_qs_0d_r8
 
 compute_qs_1d_r4
 
 compute_qs_1d_r8
 
 compute_qs_2d_r4
 
 compute_qs_2d_r8
 
 compute_qs_3d_r4
 
 compute_qs_3d_r8
 

◆ sat_vapor_pres_mod::descomp

interface sat_vapor_pres_mod::descomp

Provided for backward compatibility (to be removed soon)

Definition at line 351 of file sat_vapor_pres.F90.

Private Member Functions

 lookup_des_0d_r4
 
 lookup_des_0d_r8
 
 lookup_des_1d_r4
 
 lookup_des_1d_r8
 
 lookup_des_2d_r4
 
 lookup_des_2d_r8
 
 lookup_des_3d_r4
 
 lookup_des_3d_r8
 

◆ sat_vapor_pres_mod::escomp

interface sat_vapor_pres_mod::escomp

Provided for backward compatibility (to be removed soon)

Definition at line 273 of file sat_vapor_pres.F90.

Private Member Functions

 lookup_es_0d_r4
 
 lookup_es_0d_r8
 
 lookup_es_1d_r4
 
 lookup_es_1d_r8
 
 lookup_es_2d_r4
 
 lookup_es_2d_r8
 
 lookup_es_3d_r4
 
 lookup_es_3d_r8
 

◆ sat_vapor_pres_mod::lookup_des

interface sat_vapor_pres_mod::lookup_des

For the given temperatures, returns the derivative of saturation vapor pressure with respect to temperature.

For the given temperatures these routines return the derivtive of esat w.r.t. temperature (desat). The return values are derived from lookup tables.

Parameters
[in]tempTemperature in degrees kelvin
[out]desatDerivative of saturation vapor pressure w.r.t. temperature in pascals/degree. May be a scalar, 1d, 2d, or 3d array. Must have the same order and size as temp.
[out]err_msgCharacter string containing error message to be returned to calling routine.

@error FATAL table overflow, nbad=## Temperature(s) provided to the saturation vapor pressure lookup are outside the valid range of the lookup table (-160 to 100 deg C). This may be due to a numerical instability in the model. Information should have been printed to standard output to help determine where the instability may have occurred. If the lookup table needs a larger temperature range, then parameters in the module header must be modified.


Example usage:

call lookup_des( temp, desat)

Definition at line 342 of file sat_vapor_pres.F90.

Private Member Functions

 lookup_des_0d_r4
 
 lookup_des_0d_r8
 
 lookup_des_1d_r4
 
 lookup_des_1d_r8
 
 lookup_des_2d_r4
 
 lookup_des_2d_r8
 
 lookup_des_3d_r4
 
 lookup_des_3d_r8
 

◆ sat_vapor_pres_mod::lookup_des2

interface sat_vapor_pres_mod::lookup_des2

Definition at line 448 of file sat_vapor_pres.F90.

Private Member Functions

 lookup_des2_0d_r4
 
 lookup_des2_0d_r8
 
 lookup_des2_1d_r4
 
 lookup_des2_1d_r8
 
 lookup_des2_2d_r4
 
 lookup_des2_2d_r8
 
 lookup_des2_3d_r4
 
 lookup_des2_3d_r8
 

◆ sat_vapor_pres_mod::lookup_des3

interface sat_vapor_pres_mod::lookup_des3

Definition at line 472 of file sat_vapor_pres.F90.

Private Member Functions

 lookup_des3_0d_r4
 
 lookup_des3_0d_r8
 
 lookup_des3_1d_r4
 
 lookup_des3_1d_r8
 
 lookup_des3_2d_r4
 
 lookup_des3_2d_r8
 
 lookup_des3_3d_r4
 
 lookup_des3_3d_r8
 

◆ sat_vapor_pres_mod::lookup_es

interface sat_vapor_pres_mod::lookup_es

For the given temperatures, returns the saturation vapor pressures.

For the given temperatures these routines return the saturation vapor pressure(esat). The return values are derived from lookup tables. Example usage:

call lookup_es( temp, esat, err_msg )
Parameters
tempTemperature in degrees Kelvin.
esatSaturation vapor pressure in pascals. May be a scalar, 1d, 2d, or 3d array Must have the same order and size as temp.
err_msgCharacter string containing error message to be returned to calling routine.
Exceptions
FATALtable overflow, nbad=## Temperature(s) provided to the saturation vapor pressure lookup are outside the valid range of the lookup table (-160 to 100 deg C). This may be due to a numerical instability in the model. Information should have been printed to standard output to help determine where the instability may have occurred. If the lookup table needs a larger temperature range, then parameters in the module header must be modified.

Definition at line 265 of file sat_vapor_pres.F90.

Private Member Functions

 lookup_es_0d_r4
 
 lookup_es_0d_r8
 
 lookup_es_1d_r4
 
 lookup_es_1d_r8
 
 lookup_es_2d_r4
 
 lookup_es_2d_r8
 
 lookup_es_3d_r4
 
 lookup_es_3d_r8
 

◆ sat_vapor_pres_mod::lookup_es2

interface sat_vapor_pres_mod::lookup_es2

Definition at line 440 of file sat_vapor_pres.F90.

Private Member Functions

 lookup_es2_0d_r4
 
 lookup_es2_0d_r8
 
 lookup_es2_1d_r4
 
 lookup_es2_1d_r8
 
 lookup_es2_2d_r4
 
 lookup_es2_2d_r8
 
 lookup_es2_3d_r4
 
 lookup_es2_3d_r8
 

◆ sat_vapor_pres_mod::lookup_es2_des2

interface sat_vapor_pres_mod::lookup_es2_des2

Definition at line 456 of file sat_vapor_pres.F90.

Private Member Functions

 lookup_es2_des2_0d_r4
 
 lookup_es2_des2_0d_r8
 
 lookup_es2_des2_1d_r4
 
 lookup_es2_des2_1d_r8
 
 lookup_es2_des2_2d_r4
 
 lookup_es2_des2_2d_r8
 
 lookup_es2_des2_3d_r4
 
 lookup_es2_des2_3d_r8
 

◆ sat_vapor_pres_mod::lookup_es3

interface sat_vapor_pres_mod::lookup_es3

Definition at line 464 of file sat_vapor_pres.F90.

Private Member Functions

 lookup_es3_0d_r4
 
 lookup_es3_0d_r8
 
 lookup_es3_1d_r4
 
 lookup_es3_1d_r8
 
 lookup_es3_2d_r4
 
 lookup_es3_2d_r8
 
 lookup_es3_3d_r4
 
 lookup_es3_3d_r8
 

◆ sat_vapor_pres_mod::lookup_es3_des3

interface sat_vapor_pres_mod::lookup_es3_des3

Definition at line 480 of file sat_vapor_pres.F90.

Private Member Functions

 lookup_es3_des3_0d_r4
 
 lookup_es3_des3_0d_r8
 
 lookup_es3_des3_1d_r4
 
 lookup_es3_des3_1d_r8
 
 lookup_es3_des3_2d_r4
 
 lookup_es3_des3_2d_r8
 
 lookup_es3_des3_3d_r4
 
 lookup_es3_des3_3d_r8
 

◆ sat_vapor_pres_mod::lookup_es_des

interface sat_vapor_pres_mod::lookup_es_des

For the given temperatures, returns the saturation vapor pressure and the derivative of saturation vapor pressure with respect to temperature.

For the given temperatures these routines return the saturation vapor pressure (esat) and the derivative of esat w.r.t temperature (desat). The return values are derived from lookup tables (see notes below).


Example usage:

call lookup_es_des( temp, esat, desat, err_msg )
Parameters
tempTemperature in degrees Kelvin.
[out]esatSaturation vapor pressure in pascals. May be a scalar, 1d, 2d, or 3d array. Must have the same order and size as temp.
[out]desatDerivative of saturation vapor pressure w.r.t. temperature in pascals/degree. May be a scalar, 1d, 2d, or 3d array. Must have the same order and size as temp.
[out]err_msgCharacter string containing error message to be returned to calling routine. @error FATAL table overflow, nbad=## Temperature(s) provided to the saturation vapor pressure lookup are outside the valid range of the lookup table (-160 to 100 deg C). This may be due to a numerical instability in the model. Information should have been printed to standard output to help determine where the instability may have occurred. If the lookup table needs a larger temperature range, then parameters in the module header must be modified.

Definition at line 432 of file sat_vapor_pres.F90.

Private Member Functions

 lookup_es_des_0d_r4
 
 lookup_es_des_0d_r8
 
 lookup_es_des_1d_r4
 
 lookup_es_des_1d_r8
 
 lookup_es_des_2d_r4
 
 lookup_es_des_2d_r8
 
 lookup_es_des_3d_r4
 
 lookup_es_des_3d_r8
 

◆ sat_vapor_pres_mod::show_all_bad

interface sat_vapor_pres_mod::show_all_bad

Definition at line 735 of file sat_vapor_pres.F90.

Private Member Functions

 show_all_bad_0d_r4
 
 show_all_bad_0d_r8
 
 show_all_bad_1d_r4
 
 show_all_bad_1d_r8
 
 show_all_bad_2d_r4
 
 show_all_bad_2d_r8
 
 show_all_bad_3d_r4
 
 show_all_bad_3d_r8
 

◆ sat_vapor_pres_mod::temp_check

interface sat_vapor_pres_mod::temp_check

Definition at line 728 of file sat_vapor_pres.F90.

Private Member Functions

 temp_check_1d_r4
 
 temp_check_1d_r8
 
 temp_check_2d_r4
 
 temp_check_2d_r8
 
 temp_check_3d_r4
 
 temp_check_3d_r8
 

Function/Subroutine Documentation

◆ check_1d_()

integer function check_1d_ ( real(kind=fms_svp_kind_), dimension(:), intent(in)  temp)
Parameters
[in]temptemperature in degrees Kelvin (K)

DTINV, TMIN, TEPS are module level variables declared in r8_kind Thus they need to be converted to FMS_SVP_KIND_

Definition at line 1806 of file sat_vapor_pres.inc.

◆ check_2d_()

integer function check_2d_ ( real(kind=fms_svp_kind_), dimension(:,:), intent(in)  temp)
Parameters
[in]temptemperature in degrees Kelvin (K)

Definition at line 1830 of file sat_vapor_pres.inc.

◆ compute_mrs_0d_()

subroutine compute_mrs_0d_ ( real(kind=fms_svp_kind_), intent(in)  temp,
real(kind=fms_svp_kind_), intent(in)  press,
real(kind=fms_svp_kind_), intent(out)  mrsat,
real(kind=fms_svp_kind_), intent(in), optional  mr,
real(kind=fms_svp_kind_), intent(in), optional  hc,
real(kind=fms_svp_kind_), intent(out), optional  dmrsdT,
real(kind=fms_svp_kind_), intent(out), optional  esat,
character(len=*), intent(out), optional  err_msg,
logical, intent(in), optional  es_over_liq,
logical, intent(in), optional  es_over_liq_and_ice 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[in]presspressure
[out]mrsatmixing ratio at relative humidity
[in]mrvapor mixing ratio
[in]hcrelative humidity
[out]dmrsdtd(mrsat)/dT
[out]esatsaturation vapor pressure

EPSILO and ZVIR are module level variables that are declared in r8_kind. Thus they need to be converted to FMS_SVP_KIND_

Definition at line 1545 of file sat_vapor_pres.inc.

◆ compute_mrs_1d_()

subroutine compute_mrs_1d_ ( real(kind=fms_svp_kind_), dimension(:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:), intent(in)  press,
real(kind=fms_svp_kind_), dimension(:), intent(out)  mrsat,
real(kind=fms_svp_kind_), dimension(:), intent(in), optional  mr,
real(kind=fms_svp_kind_), intent(in), optional  hc,
real(kind=fms_svp_kind_), dimension(:), intent(out), optional  dmrsdT,
real(kind=fms_svp_kind_), dimension(:), intent(out), optional  esat,
character(len=*), intent(out), optional  err_msg,
logical, intent(in), optional  es_over_liq,
logical, intent(in), optional  es_over_liq_and_ice 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[in]presspressure
[out]mrsatmixing ratio at relative humidity
[in]mrvapor mixing ratio
[in]hcrelative humidity
[out]dmrsdtd(mrsat)/dT
[out]esatsaturation vapor pressure

EPSILO and ZVIR are module level variables that are declared in r8_kind. Thus they need to be converted to FMS_SVP_KIND_

Definition at line 1611 of file sat_vapor_pres.inc.

◆ compute_mrs_2d_()

subroutine compute_mrs_2d_ ( real(kind=fms_svp_kind_), dimension(:,:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:,:), intent(in)  press,
real(kind=fms_svp_kind_), dimension(:,:), intent(out)  mrsat,
real(kind=fms_svp_kind_), dimension(:,:), intent(in), optional  mr,
real(kind=fms_svp_kind_), intent(in), optional  hc,
real(kind=fms_svp_kind_), dimension(:,:), intent(out), optional  dmrsdT,
real(kind=fms_svp_kind_), dimension(:,:), intent(out), optional  esat,
character(len=*), intent(out), optional  err_msg,
logical, intent(in), optional  es_over_liq,
logical, intent(in), optional  es_over_liq_and_ice 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[in]presspressure
[out]mrsatmixing ratio at relative humidity
[in]mrvapor mixing ratio
[in]hcrelative humidity
[out]dmrsdtd(mrsat)/dT
[out]esatsaturation vapor pressure

EPSILO and ZVIR are module level variables that are declared in r8_kind. Thus they need to be converted to FMS_SVP_KIND_

Definition at line 1679 of file sat_vapor_pres.inc.

◆ compute_mrs_3d_()

subroutine compute_mrs_3d_ ( real(kind=fms_svp_kind_), dimension(:,:,:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:,:,:), intent(in)  press,
real(kind=fms_svp_kind_), dimension(:,:,:), intent(out)  mrsat,
real(kind=fms_svp_kind_), dimension(:,:,:), intent(in), optional  mr,
real(kind=fms_svp_kind_), intent(in), optional  hc,
real(kind=fms_svp_kind_), dimension(:,:,:), intent(out), optional  dmrsdT,
real(kind=fms_svp_kind_), dimension(:,:,:), intent(out), optional  esat,
character(len=*), intent(out), optional  err_msg,
logical, intent(in), optional  es_over_liq,
logical, intent(in), optional  es_over_liq_and_ice 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[in]presspressure
[out]mrsatmixing ratio at relative humidity
[in]mrvapor mixing ratio
[in]hcrelative humidity
[out]dmrsdtd(mrsat)/dT
[out]esatsaturation vapor pressure

EPSILO and ZVIR are module level variables that are declared in r8_kind. Thus they need to be converted to FMS_SVP_KIND_

Definition at line 1747 of file sat_vapor_pres.inc.

◆ compute_qs_0d_()

subroutine compute_qs_0d_ ( real(kind=fms_svp_kind_), intent(in)  temp,
real(kind=fms_svp_kind_), intent(in)  press,
real(kind=fms_svp_kind_), intent(out)  qsat,
real(kind=fms_svp_kind_), intent(in), optional  q,
real(kind=fms_svp_kind_), intent(in), optional  hc,
real(kind=fms_svp_kind_), intent(out), optional  dqsdT,
real(kind=fms_svp_kind_), intent(out), optional  esat,
character(len=*), intent(out), optional  err_msg,
logical, intent(in), optional  es_over_liq,
logical, intent(in), optional  es_over_liq_and_ice 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[in]presspressure
[out]qsatsaturation vapor pressure
[in]qvapor relative humidity
[in]hcrelative humidity
[out]dqsdtd(qsat)/dT
[out]esatsaturation vapor pressure

EPSILO and ZVIR are module level variables that are declared in r8_kind. Thus they need to be converted to FMS_SVP_KIND_

Definition at line 1275 of file sat_vapor_pres.inc.

◆ compute_qs_1d_()

subroutine compute_qs_1d_ ( real(kind=fms_svp_kind_), dimension(:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:), intent(in)  press,
real(kind=fms_svp_kind_), dimension(:), intent(out)  qsat,
real(kind=fms_svp_kind_), dimension(:), intent(in), optional  q,
real(kind=fms_svp_kind_), intent(in), optional  hc,
real(kind=fms_svp_kind_), dimension(:), intent(out), optional  dqsdT,
real(kind=fms_svp_kind_), dimension(:), intent(out), optional  esat,
character(len=*), intent(out), optional  err_msg,
logical, intent(in), optional  es_over_liq,
logical, intent(in), optional  es_over_liq_and_ice 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[in]presspressure
[out]qsatspecific humidity
[in]qvapor relative humidity
[in]hcrelative humidity
[out]dqsdtd(qsat)/dT
[out]esatsaturation vapor pressure

EPSILO and ZVIR are module level variables that are declared in r8_kind. Thus they need to be converted to FMS_SVP_KIND_

Definition at line 1341 of file sat_vapor_pres.inc.

◆ compute_qs_2d_()

subroutine compute_qs_2d_ ( real(kind=fms_svp_kind_), dimension(:,:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:,:), intent(in)  press,
real(kind=fms_svp_kind_), dimension(:,:), intent(out)  qsat,
real(kind=fms_svp_kind_), dimension(:,:), intent(in), optional  q,
real(kind=fms_svp_kind_), intent(in), optional  hc,
real(kind=fms_svp_kind_), dimension(:,:), intent(out), optional  dqsdT,
real(kind=fms_svp_kind_), dimension(:,:), intent(out), optional  esat,
character(len=*), intent(out), optional  err_msg,
logical, intent(in), optional  es_over_liq,
logical, intent(in), optional  es_over_liq_and_ice 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[in]presspressure
[out]qsatspecific humidity
[in]qvapor relative humidity
[in]hcrelative humidity
[out]dqsdtd(qsat)/dT
[out]esatsaturation vapor pressure

EPSILO and ZVIR are module level variables that are declared in r8_kind. Thus they need to be converted to FMS_SVP_KIND_

Definition at line 1409 of file sat_vapor_pres.inc.

◆ compute_qs_3d_()

subroutine compute_qs_3d_ ( real(kind=fms_svp_kind_), dimension(:,:,:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:,:,:), intent(in)  press,
real(kind=fms_svp_kind_), dimension(:,:,:), intent(out)  qsat,
real(kind=fms_svp_kind_), dimension(:,:,:), intent(in), optional  q,
real(kind=fms_svp_kind_), intent(in), optional  hc,
real(kind=fms_svp_kind_), dimension(:,:,:), intent(out), optional  dqsdT,
real(kind=fms_svp_kind_), dimension(:,:,:), intent(out), optional  esat,
character(len=*), intent(out), optional  err_msg,
logical, intent(in), optional  es_over_liq,
logical, intent(in), optional  es_over_liq_and_ice 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[in]presspressure
[out]qsatspecific humidity
[in]qvapor relative humidity
[in]hcrelative humidity
[out]dqsdtd(qsat)/dT
[out]esatsaturation vapor pressure

EPSILO and ZVIR are module level variables that are declared in r8_kind. Thus they need to be converted to FMS_SVP_KIND_

Definition at line 1476 of file sat_vapor_pres.inc.

◆ lookup_des2_0d_()

subroutine lookup_des2_0d_ ( real(kind=fms_svp_kind_), intent(in)  temp,
real(kind=fms_svp_kind_), intent(out)  desat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]desatderivative of saturation vapor pressure

Definition at line 577 of file sat_vapor_pres.inc.

◆ lookup_des2_1d_()

subroutine lookup_des2_1d_ ( real(kind=fms_svp_kind_), dimension (:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:), intent(out)  desat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]desatderivative of saturation vapor pressure

Definition at line 609 of file sat_vapor_pres.inc.

◆ lookup_des2_2d_()

subroutine lookup_des2_2d_ ( real(kind=fms_svp_kind_), dimension (:,:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:,:), intent(out)  desat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]desatderivative of saturation vapor pressure

Definition at line 646 of file sat_vapor_pres.inc.

◆ lookup_des2_3d_()

subroutine lookup_des2_3d_ ( real(kind=fms_svp_kind_), dimension (:,:,:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:,:,:), intent(out)  desat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]desatderivative of saturation vapor pressure

Definition at line 680 of file sat_vapor_pres.inc.

◆ lookup_des3_0d_()

subroutine lookup_des3_0d_ ( real(kind=fms_svp_kind_), intent(in)  temp,
real(kind=fms_svp_kind_), intent(out)  desat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]desatderivative of saturation vapor pressure

Definition at line 712 of file sat_vapor_pres.inc.

◆ lookup_des3_1d_()

subroutine lookup_des3_1d_ ( real(kind=fms_svp_kind_), dimension (:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:), intent(out)  desat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]desatderivative of saturation vapor pressure

Definition at line 744 of file sat_vapor_pres.inc.

◆ lookup_des3_2d_()

subroutine lookup_des3_2d_ ( real(kind=fms_svp_kind_), dimension (:,:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:,:), intent(out)  desat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]desatderivative of saturation vapor pressure

Definition at line 781 of file sat_vapor_pres.inc.

◆ lookup_des3_3d_()

subroutine lookup_des3_3d_ ( real(kind=fms_svp_kind_), dimension (:,:,:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:,:,:), intent(out)  desat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]desatderivative of saturation vapor pressure

Definition at line 815 of file sat_vapor_pres.inc.

◆ lookup_des_0d_()

subroutine lookup_des_0d_ ( real(kind=fms_svp_kind_), intent(in)  temp,
real(kind=fms_svp_kind_), intent(out)  desat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]desatderivative of saturation vapor pressure

Definition at line 442 of file sat_vapor_pres.inc.

◆ lookup_des_1d_()

subroutine lookup_des_1d_ ( real(kind=fms_svp_kind_), dimension (:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:), intent(out)  desat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]desatderivative of saturation vapor pressure

Definition at line 474 of file sat_vapor_pres.inc.

◆ lookup_des_2d_()

subroutine lookup_des_2d_ ( real(kind=fms_svp_kind_), dimension (:,:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:,:), intent(out)  desat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]desatderivative of saturation vapor pressure

Definition at line 511 of file sat_vapor_pres.inc.

◆ lookup_des_3d_()

subroutine lookup_des_3d_ ( real(kind=fms_svp_kind_), dimension (:,:,:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:,:,:), intent(out)  desat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]desatderivative of saturation vapor pressure

Definition at line 545 of file sat_vapor_pres.inc.

◆ lookup_es2_0d_()

subroutine lookup_es2_0d_ ( real(kind=fms_svp_kind_), intent(in)  temp,
real(kind=fms_svp_kind_), intent(out)  esat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]esatsaturation vapor pressure

Definition at line 165 of file sat_vapor_pres.inc.

◆ lookup_es2_1d_()

subroutine lookup_es2_1d_ ( real(kind=fms_svp_kind_), dimension(:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:), intent(out)  esat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]esatsaturation vapor pressure

Definition at line 197 of file sat_vapor_pres.inc.

◆ lookup_es2_2d_()

subroutine lookup_es2_2d_ ( real(kind=fms_svp_kind_), dimension(:,:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:,:), intent(out)  esat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]esatsaturation vapor pressure

Definition at line 233 of file sat_vapor_pres.inc.

◆ lookup_es2_3d_()

subroutine lookup_es2_3d_ ( real(kind=fms_svp_kind_), dimension(:,:,:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:,:,:), intent(out)  esat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]esatsaturation vapor pressure

Definition at line 269 of file sat_vapor_pres.inc.

◆ lookup_es2_des2_0d_()

subroutine lookup_es2_des2_0d_ ( real(kind=fms_svp_kind_), intent(in)  temp,
real(kind=fms_svp_kind_), intent(out)  esat,
real(kind=fms_svp_kind_), intent(out)  desat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]esatsaturation vapor pressure
[out]desatderivative of saturation vapor pressure

Definition at line 991 of file sat_vapor_pres.inc.

◆ lookup_es2_des2_1d_()

subroutine lookup_es2_des2_1d_ ( real(kind=fms_svp_kind_), dimension(:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:), intent(out)  esat,
real(kind=fms_svp_kind_), dimension(:), intent(out)  desat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]esatsaturation vapor pressure
[out]desatderivative of saturation vapor pressure

Definition at line 1025 of file sat_vapor_pres.inc.

◆ lookup_es2_des2_2d_()

subroutine lookup_es2_des2_2d_ ( real(kind=fms_svp_kind_), dimension(:,:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:,:), intent(out)  esat,
real(kind=fms_svp_kind_), dimension(:,:), intent(out)  desat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]esatsaturation vapor pressure
[out]desatderivative of saturation vapor pressure

Definition at line 1060 of file sat_vapor_pres.inc.

◆ lookup_es2_des2_3d_()

subroutine lookup_es2_des2_3d_ ( real(kind=fms_svp_kind_), dimension(:,:,:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:,:,:), intent(out)  esat,
real(kind=fms_svp_kind_), dimension(:,:,:), intent(out)  desat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]esatsaturation vapor pressure
[out]desatderivative of saturation vapor pressure

Definition at line 1095 of file sat_vapor_pres.inc.

◆ lookup_es3_0d_()

subroutine lookup_es3_0d_ ( real(kind=fms_svp_kind_), intent(in)  temp,
real(kind=fms_svp_kind_), intent(out)  esat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]esatsaturation vapor pressure

Definition at line 302 of file sat_vapor_pres.inc.

◆ lookup_es3_1d_()

subroutine lookup_es3_1d_ ( real(kind=fms_svp_kind_), dimension(:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:), intent(out)  esat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]esatsaturation vapor pressure

Definition at line 334 of file sat_vapor_pres.inc.

◆ lookup_es3_2d_()

subroutine lookup_es3_2d_ ( real(kind=fms_svp_kind_), dimension(:,:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:,:), intent(out)  esat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]esatsaturation vapor pressure

Definition at line 370 of file sat_vapor_pres.inc.

◆ lookup_es3_3d_()

subroutine lookup_es3_3d_ ( real(kind=fms_svp_kind_), dimension(:,:,:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:,:,:), intent(out)  esat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]esatsaturation vapor pressure

Definition at line 406 of file sat_vapor_pres.inc.

◆ lookup_es3_des3_0d_()

subroutine lookup_es3_des3_0d_ ( real(kind=fms_svp_kind_), intent(in)  temp,
real(kind=fms_svp_kind_), intent(out)  esat,
real(kind=fms_svp_kind_), intent(out)  desat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]esatsaturation vapor pressure
[out]desatderivative of saturation vapor pressure

Definition at line 1132 of file sat_vapor_pres.inc.

◆ lookup_es3_des3_1d_()

subroutine lookup_es3_des3_1d_ ( real(kind=fms_svp_kind_), dimension(:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:), intent(out)  esat,
real(kind=fms_svp_kind_), dimension(:), intent(out)  desat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]esatsaturation vapor pressure
[out]desatderivative of saturation vapor pressure

Definition at line 1166 of file sat_vapor_pres.inc.

◆ lookup_es3_des3_2d_()

subroutine lookup_es3_des3_2d_ ( real(kind=fms_svp_kind_), dimension(:,:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:,:), intent(out)  esat,
real(kind=fms_svp_kind_), dimension(:,:), intent(out)  desat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]esatsaturation vapor pressure
[out]desatderivative of saturation vapor pressure

Definition at line 1201 of file sat_vapor_pres.inc.

◆ lookup_es3_des3_3d_()

subroutine lookup_es3_des3_3d_ ( real(kind=fms_svp_kind_), dimension(:,:,:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:,:,:), intent(out)  esat,
real(kind=fms_svp_kind_), dimension(:,:,:), intent(out)  desat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]esatsaturation vapor pressure
[out]desatderivative of saturation vapor pressure

Definition at line 1236 of file sat_vapor_pres.inc.

◆ lookup_es_0d_()

subroutine lookup_es_0d_ ( real(kind=fms_svp_kind_), intent(in)  temp,
real(kind=fms_svp_kind_), intent(out)  esat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]esatsaturation vapor pressure

Definition at line 28 of file sat_vapor_pres.inc.

◆ lookup_es_1d_()

subroutine lookup_es_1d_ ( real(kind=fms_svp_kind_), dimension(:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:), intent(out)  esat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]esatsaturation vapor pressure

Definition at line 60 of file sat_vapor_pres.inc.

◆ lookup_es_2d_()

subroutine lookup_es_2d_ ( real(kind=fms_svp_kind_), dimension(:,:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:,:), intent(out)  esat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]esatsaturation vapor pressure

Definition at line 96 of file sat_vapor_pres.inc.

◆ lookup_es_3d_()

subroutine lookup_es_3d_ ( real(kind=fms_svp_kind_), dimension(:,:,:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:,:,:), intent(out)  esat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]esatsaturation vapor pressure

Definition at line 132 of file sat_vapor_pres.inc.

◆ lookup_es_des_0d_()

subroutine lookup_es_des_0d_ ( real(kind=fms_svp_kind_), intent(in)  temp,
real(kind=fms_svp_kind_), intent(out)  esat,
real(kind=fms_svp_kind_), intent(out)  desat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]esatsaturation vapor pressure
[out]desatderivative of saturation vapor pressure

Definition at line 851 of file sat_vapor_pres.inc.

◆ lookup_es_des_1d_()

subroutine lookup_es_des_1d_ ( real(kind=fms_svp_kind_), dimension(:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:), intent(out)  esat,
real(kind=fms_svp_kind_), dimension(:), intent(out)  desat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]esatsaturation vapor pressure
[out]desatderivative of saturation vapor pressure

Definition at line 885 of file sat_vapor_pres.inc.

◆ lookup_es_des_2d_()

subroutine lookup_es_des_2d_ ( real(kind=fms_svp_kind_), dimension(:,:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:,:), intent(out)  esat,
real(kind=fms_svp_kind_), dimension(:,:), intent(out)  desat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]esatsaturation vapor pressure
[out]desatderivative of saturation vapor pressure

Definition at line 920 of file sat_vapor_pres.inc.

◆ lookup_es_des_3d_()

subroutine lookup_es_des_3d_ ( real(kind=fms_svp_kind_), dimension(:,:,:), intent(in)  temp,
real(kind=fms_svp_kind_), dimension(:,:,:), intent(out)  esat,
real(kind=fms_svp_kind_), dimension(:,:,:), intent(out)  desat,
character(len=*), intent(out), optional  err_msg 
)
Parameters
[in]temptemperature in degrees Kelvin (K)
[out]esatsaturation vapor pressure
[out]desatderivative of saturation vapor pressure

Definition at line 955 of file sat_vapor_pres.inc.

◆ show_all_bad_0d_()

subroutine show_all_bad_0d_ ( real(kind=fms_svp_kind_), intent(in)  temp)
Parameters
[in]temptemperature in degrees Kelvin (K)

DTINV, TMIN, TEPS are module level variables declared in r8_kind Thus they need to be converted to FMS_SVP_KIND_

Definition at line 1879 of file sat_vapor_pres.inc.

◆ show_all_bad_1d_()

subroutine show_all_bad_1d_ ( real(kind=fms_svp_kind_), dimension(:), intent(in)  temp)
Parameters
[in]temptemperature in degrees Kelvin (K)

DTINV, TMIN, TEPS are module level variables declared in r8_kind Thus they need to be converted to FMS_SVP_KIND_

Definition at line 1902 of file sat_vapor_pres.inc.

◆ show_all_bad_2d_()

subroutine show_all_bad_2d_ ( real(kind=fms_svp_kind_), dimension(:,:), intent(in)  temp)
Parameters
[in]temptemperature in degrees Kelvin (K)

DTINV, TMIN, TEPS are module level variables declared in r8_kind Thus they need to be converted to FMS_SVP_KIND_

Definition at line 1927 of file sat_vapor_pres.inc.

◆ show_all_bad_3d_()

subroutine show_all_bad_3d_ ( real(kind=fms_svp_kind_), dimension(:,:,:), intent(in)  temp)
Parameters
[in]temptemperature in degrees Kelvin (K)

DTINV, TMIN, TEPS are module level variables declared in r8_kind Thus they need to be converted to FMS_SVP_KIND_

Definition at line 1954 of file sat_vapor_pres.inc.

◆ temp_check_1d_()

subroutine temp_check_1d_ ( real(kind=fms_svp_kind_), dimension(:), intent(in)  temp)
Parameters
[in]temptemperature in degrees Kelvin (K)

Definition at line 1843 of file sat_vapor_pres.inc.

◆ temp_check_2d_()

subroutine temp_check_2d_ ( real(kind=fms_svp_kind_), dimension(:,:), intent(in)  temp)
Parameters
[in]temptemperature in degrees Kelvin (K)

Definition at line 1854 of file sat_vapor_pres.inc.

◆ temp_check_3d_()

subroutine temp_check_3d_ ( real(kind=fms_svp_kind_), dimension(:,:,:), intent(in)  temp)
Parameters
[in]temptemperature in degrees Kelvin (K)

Definition at line 1866 of file sat_vapor_pres.inc.