<p><b>laura@ucar.edu</b> 2012-02-29 09:52:27 -0700 (Wed, 29 Feb 2012)</p><p>added the variables config_bucket_update, config_bucket_rainc, and config_bucket_rainnc to limit the accumulated precipitation diagnostics rainc and rainnc to amounts less than their prescribed bucket values. added the arrays i_rainc and i_rainnc to keep track of how many times that bucket threshold has been applied to calculate the actual diagnostics rainc and rainnc, if needed. This is needed for long-term simulations for which rainc and rainnc can become quite large. added the CAM radiation code arrays absnxt, abstot, and emstot to the restart files for exact restarts when the CAM radiation codes are used<br>
</p><hr noshade><pre><font color="gray">Modified: branches/atmos_physics/src/core_nhyd_atmos/Registry
===================================================================
--- branches/atmos_physics/src/core_nhyd_atmos/Registry        2012-02-28 18:21:47 UTC (rev 1547)
+++ branches/atmos_physics/src/core_nhyd_atmos/Registry        2012-02-29 16:52:27 UTC (rev 1548)
@@ -348,6 +348,7 @@
 namelist character physics  config_pbl_interval          none
 namelist character physics  config_camrad_abs_update     06:00:00
 namelist character physics  config_greeness_update       24:00:00
+namelist character physics  config_bucket_update         none
 
 namelist character physics  config_microp_scheme          off
 namelist character physics  config_conv_shallow_scheme    off
@@ -360,6 +361,9 @@
 namelist character physics  config_radt_sw_scheme         off
 namelist character physics  config_sfclayer_scheme        off
 
+namelist real      physics  config_bucket_rainc           0.0_RKIND
+namelist real      physics  config_bucket_rainnc          0.0_RKIND
+
 var persistent real    east       ( R3 nCells               ) 0  r   east          mesh         - -
 var persistent real    north      ( R3 nCells               ) 0  r   north         mesh         - -
 
@@ -385,7 +389,7 @@
 %--------------------------------------------------------------------------------------------------
 %... PARAMETERIZATION OF CLOUD MICROPHYSICS:
 %--------------------------------------------------------------------------------------------------
-
+% i_rainnc  : counter related to how often rainnc is being reset relative to its bucket value   (-)
 % rainnc    : accumulated total time-step grid-scale precipitation                             (mm)
 % rainncv   : time-step total grid-scale precipitation                                         (mm)
 % snownc    : accumulated grid-scale precipitation of snow                                     (mm)
@@ -394,6 +398,7 @@
 % graupelncv: time-step grid-scale precipitation of graupel                                    (mm)
 % sr        : time-step ratio of frozen versus total grid-scale precipitation                   (-)
 
+var persistent integer i_rainnc   ( nCells Time             ) 1  ro i_rainnc       diag_physics - -
 var persistent real    sr         ( nCells Time             ) 1  ro sr             diag_physics - -
 var persistent real    rainncv    ( nCells Time             ) 1  ro rainncv        diag_physics - -
 var persistent real    snowncv    ( nCells Time             ) 1   o snowncv        diag_physics - -
@@ -409,7 +414,7 @@
 %--------------------------------------------------------------------------------------------------
 %... PARAMETERIZATION OF CONVECTION:
 %--------------------------------------------------------------------------------------------------
-
+% i_rainc   : counter related to how often rainc is begin reset relative to its bucket value    (-)
 % cuprec    : convective precipitation rate                                                  (mm/s)
 % rainc     : accumulated time-step convective precipitation                                   (mm)
 % raincv    : time-step convective precipitation                                               (mm)
@@ -418,9 +423,10 @@
 % rqccuten  : tendency of cloud water mixing ratio due to cumulus convection            (kg/kg s-1)
 % rqicuten  : tendency of cloud ice mixing ratio due to cumulus convection              (kg/kg s-1)
 
-var persistent real   cuprec    ( nCells Time              ) 1  ro cuprec          diag_physics - -
-var persistent real   rainc     ( nCells Time              ) 1  ro rainc           diag_physics - -
-var persistent real   raincv    ( nCells Time              ) 1  ro raincv          diag_physics - -
+var persistent integer i_rainc  ( nCells Time              ) 1  ro i_rainc         diag_physics - -
+var persistent real    cuprec   ( nCells Time              ) 1  ro cuprec          diag_physics - -
+var persistent real    rainc    ( nCells Time              ) 1  ro rainc           diag_physics - -
+var persistent real    raincv   ( nCells Time              ) 1  ro raincv          diag_physics - -
 
 var persistent real   rthcuten  ( nVertLevels nCells Time  ) 1  ro rthcuten        tend_physics - -
 var persistent real   rqvcuten  ( nVertLevels nCells Time  ) 1  ro rqvcuten        tend_physics - -
@@ -645,9 +651,9 @@
 %--------------------------------------------------------------------------------------------------
 
 %INFRARED ABSORPTION:
-var persistent real absnxt  ( nVertLevels   cam_dim1      nCells Time ) 1 - absnxt diag_physics - -
-var persistent real abstot  ( nVertLevelsP1 nVertLevelsP1 nCells Time ) 1 - abstot diag_physics - -
-var persistent real emstot  ( nVertLevelsP1 nCells Time               ) 1 - emstot diag_physics - -
+var persistent real absnxt  ( nVertLevels   cam_dim1      nCells Time ) 1 r absnxt diag_physics - -
+var persistent real abstot  ( nVertLevelsP1 nVertLevelsP1 nCells Time ) 1 r abstot diag_physics - -
+var persistent real emstot  ( nVertLevelsP1 nCells Time               ) 1 r emstot diag_physics - -
 
 % OZONE:
 var persistent real    pin      ( nOznLevels nCells         ) 0 -  pin       mesh  - -

</font>
</pre>