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

MODULE obs_def_dew_point_mod

Contact: Jeff Anderson, David Dowell
Revision: $Revision: 2854 $
Source: $URL: http://subversion.ucar.edu/DAReS/DART/trunk/obs_def/obs_def_dew_point_mod.html $
Change Date: $Date: 2007-04-12 09:46:30 -0600 (Thu, 12 Apr 2007) $
Change history: try "svn log" or "svn diff"

OVERVIEW

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

Revision 2801 implements a more robust method (based on Bolton's Approximation) for calculating dew point.





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