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" |
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.
types_mod utilities_mod location_mod (most likely threed_sphere) assim_model_mod obs_kind_mod
use obs_def_dew_point_mod, only : | get_expected_dew_point |
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
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 |
Routine | Message | Comment |
---|---|---|
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. |