[Dart-dev] DART/branches Revision: 12775

dart at ucar.edu dart at ucar.edu
Tue Aug 14 10:43:49 MDT 2018


nancy at ucar.edu
2018-08-14 10:43:49 -0600 (Tue, 14 Aug 2018)
216
for polar stereographic projections 'cone' is used
and must be set to 1.0 instead of using what looks
like a missing value of -999.  without setting this
to 1.0 the code was incorrectly rotating the wind
direction.




Modified: DART/branches/rma_trunk/models/wrf/module_map_utils-wrf3.0.f90
===================================================================
--- DART/branches/rma_trunk/models/wrf/module_map_utils-wrf3.0.f90	2018-08-14 16:21:44 UTC (rev 12774)
+++ DART/branches/rma_trunk/models/wrf/module_map_utils-wrf3.0.f90	2018-08-14 16:43:49 UTC (rev 12775)
@@ -685,6 +685,7 @@
   
       ! Executable code
       reflon = proj%stdlon + 90.
+      proj%cone = 1.0_r8
   
       ! Compute numerator term of map scale factor
       scale_top = 1. + proj%hemi * SIN(proj%truelat1 * rad_per_deg)

Modified: DART/branches/rma_trunk/models/wrf/module_map_utils.f90
===================================================================
--- DART/branches/rma_trunk/models/wrf/module_map_utils.f90	2018-08-14 16:21:44 UTC (rev 12774)
+++ DART/branches/rma_trunk/models/wrf/module_map_utils.f90	2018-08-14 16:43:49 UTC (rev 12775)
@@ -775,6 +775,7 @@
 
       ! Executable code
       reflon = proj%stdlon + 90.0_r8
+      proj%cone = 1.0_r8
 
       ! Compute numerator term of map scale factor
       scale_top = 1.0_r8 + proj%hemi * SIN(proj%truelat1 * rad_per_deg)


More information about the Dart-dev mailing list