INTERFACE / PUBLIC COMPONENTS / FILES / REFERENCES / ERRORS / BUGS / PLANS

MODULE obs_def_dew_point_mod

Contact: Jeff Anderson
Reviewers:  
Revision: $Revision: 1.1 $
Release Name: $Name: iceland $
Change Date: $Date: 2005/10/05 19:07:52 $
Change history: see CVS log

OVERVIEW

Provides a subroutine to calculate the dew point temperature from model temperature, specific humidity, and pressure.





OTHER MODULES USED

types_mod
utilities_mod
location_mod (most likely threed_sphere)
assim_model_mod
obs_kind_mod



PUBLIC INTERFACE

use obs_def_dew_point_mod, only : get_expected_dew_point




PUBLIC COMPONENTS



call get_expected_dew_point(state_vector, location, key, td, istatus)
 real(r8),            intent(in)  :: state_vector
 type(location_type), intent(in)  :: location
 integer,             intent(in)  :: key
 real(r8),            intent(out) :: td
 integer,             intent(out) :: istatus
 

Description

Calculates the dew point temperature (Kelvin).

state_vector    A one dimensional representation of the model state vector
location    Location for this obs
key    Controls whether upper levels (key = 1) or 2-meter (key = 2) is required.
td    The returned dew point temperature value
istatus    Returned integer describing problems with applying forward operator




FILES




REFERENCES


ERROR CODES and CONDITIONS

RoutineMessageComment
get_expected_dew_point 'key has to be 1 (upper levels) or 2 (2-meter), got ',key The input value of key is not allowed.



KNOWN BUGS




FUTURE PLANS