[Dart-dev] [6445] DART/trunk/location/threed_sphere/location_mod.f90: updates to comments that got lost in the reintegration

nancy at ucar.edu nancy at ucar.edu
Fri Aug 30 11:51:40 MDT 2013


Revision: 6445
Author:   nancy
Date:     2013-08-30 11:51:39 -0600 (Fri, 30 Aug 2013)
Log Message:
-----------
updates to comments that got lost in the reintegration
of the development branch back onto the trunk.  no code
changes - just updated comments.

Modified Paths:
--------------
    DART/trunk/location/threed_sphere/location_mod.f90

-------------- next part --------------
Modified: DART/trunk/location/threed_sphere/location_mod.f90
===================================================================
--- DART/trunk/location/threed_sphere/location_mod.f90	2013-08-29 22:35:09 UTC (rev 6444)
+++ DART/trunk/location/threed_sphere/location_mod.f90	2013-08-30 17:51:39 UTC (rev 6445)
@@ -259,16 +259,17 @@
 ! distance computation for incompatible vertical location types results 
 ! in a fatal error unless one of the vertical types is UNDEFINED.
 
-! The 3rd argument is actually a specific type, (e.g. RADIOSONDE_TEMPERATURE, 
-! AIRCRAFT_TEMPERATURE).  The 4th argument is a generic kind (e.g. KIND_TEMPERATURE).
-! The types/kinds are part of
-! the interface in case user-code wants to do a more sophisticated distance
-! calculation based on the base or target types.  In the usual case this
-! code still doesn't use the types, but there's an undocumented feature that
-! allows you to maintain the original vertical normalization even when
-! changing the cutoff distance in the horizontal.  For that to work we
-! do need to know the type, and we use the type of loc1 to control it.
-! 
+! CHANGE from previous versions:  the 3rd argument is now a specific type
+! (e.g. RADIOSONDE_TEMPERATURE, AIRCRAFT_SPECIFIC_HUMIDITY) associated
+! with loc1, while the 4th argument is a generic kind (KIND_TEMPERATURE, 
+! KIND_U_WIND_COMPONENT) associated with loc2.
+! The type and kind are part of the interface in case user-code wants to do 
+! a more sophisticated distance calculation based on the base type or target
+! kind. In the usual case this code still doesn't use the kind/type, but 
+! there is a feature that allows you to maintain the original vertical 
+! normalization even when changing the cutoff distance in the horizontal.
+! For that to work we do need to know the type, and we use the type of loc1 
+! to control it.
 
 type(location_type), intent(in) :: loc1, loc2
 integer, optional,   intent(in) :: type1, kind2
@@ -1210,8 +1211,9 @@
 subroutine get_close_obs(gc, base_obs_loc, base_obs_type, obs, obs_kind, &
    num_close, close_ind, dist)
 
-! In spite of the names, the specific types are available to do a more
-! sophisticated distance computation if needed.
+! The specific type of the base observation, plus the generic kinds list
+! for either the state or obs lists are available if a more sophisticated
+! distance computation is needed.
 
 type(get_close_type), intent(in)  :: gc
 type(location_type),  intent(in)  :: base_obs_loc, obs(:)


More information about the Dart-dev mailing list