[Dart-dev] [3910] DART/trunk/models/wrf/model_mod.f90: add code to allow vortex measurements

nancy at ucar.edu nancy at ucar.edu
Fri Jun 5 08:37:00 MDT 2009


An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/dart-dev/attachments/20090605/73b3a0ce/attachment-0001.html 
-------------- next part --------------
Modified: DART/trunk/models/wrf/model_mod.f90
===================================================================
--- DART/trunk/models/wrf/model_mod.f90	2009-06-04 22:27:24 UTC (rev 3909)
+++ DART/trunk/models/wrf/model_mod.f90	2009-06-05 14:36:58 UTC (rev 3910)
@@ -6042,6 +6042,19 @@
 ! one ensemble member to another.
 in_state_vector(KIND_SURFACE_ELEVATION) = .true.
 
+! there is no field that directly maps to the vortex measurements.
+! if you have all the fields it needs, allow them.
+if (in_state_vector(KIND_U_WIND_COMPONENT)    .and. &
+    in_state_vector(KIND_V_WIND_COMPONENT)    .and. &
+    in_state_vector(KIND_TEMPERATURE)         .and. &
+    in_state_vector(KIND_VAPOR_MIXING_RATIO)  .and. &
+    in_state_vector(KIND_PRESSURE)) then        ! ok to add vortex types
+   in_state_vector(KIND_VORTEX_LAT)  = .true.
+   in_state_vector(KIND_VORTEX_LON)  = .true.
+   in_state_vector(KIND_VORTEX_PMIN) = .true.
+   in_state_vector(KIND_VORTEX_WMAX) = .true.
+endif
+ 
 ! if you have geopotential height and pressure, you can compute
 ! a density value.
 if (in_state_vector(KIND_GEOPOTENTIAL_HEIGHT) .and. &


More information about the Dart-dev mailing list