<p><b>duda</b> 2013-03-21 11:49:04 -0600 (Thu, 21 Mar 2013)</p><p>BRANCH COMMIT<br>
<br>
Adding comments and whitespace -- plus some re-ordering -- in the MPAS-A Registry.xml file.<br>
<br>
No change to results.<br>
<br>
<br>
M    src/core_nhyd_atmos/Registry.xml<br>
</p><hr noshade><pre><font color="gray">Modified: branches/xml_registry/src/core_nhyd_atmos/Registry.xml
===================================================================
--- branches/xml_registry/src/core_nhyd_atmos/Registry.xml        2013-03-21 17:30:42 UTC (rev 2649)
+++ branches/xml_registry/src/core_nhyd_atmos/Registry.xml        2013-03-21 17:49:04 UTC (rev 2650)
@@ -1,7 +1,9 @@
 &lt;?xml version=&quot;1.0&quot;?&gt;
 &lt;registry&gt;
 
-&lt;!-- Dimensions --&gt;
+&lt;!-- **************************************************************************************** --&gt;
+&lt;!-- ************************************** Dimensions ************************************** --&gt;
+&lt;!-- **************************************************************************************** --&gt;
 
         &lt;dims&gt;
                 &lt;dim name=&quot;nCells&quot;/&gt;
@@ -27,7 +29,9 @@
         &lt;/dims&gt;
 
 
-&lt;!-- Namelists --&gt;
+&lt;!-- **************************************************************************************** --&gt;
+&lt;!-- ************************************** Namelists *************************************** --&gt;
+&lt;!-- **************************************************************************************** --&gt;
 
         &lt;nml_record name=&quot;nhyd_model&quot;&gt;
                 &lt;nml_option name=&quot;config_time_integration&quot;           type=&quot;character&quot;     default_value=&quot;SRK3&quot;/&gt;
@@ -95,88 +99,14 @@
                 &lt;nml_option name=&quot;config_restart_interval&quot;           type=&quot;character&quot;     default_value=&quot;none&quot;/&gt;
         &lt;/nml_record&gt;
 
-        &lt;nml_record name=&quot;physics&quot;&gt;
-                &lt;nml_option name=&quot;input_landuse_data&quot;                type=&quot;character&quot;     default_value=&quot;USGS&quot;/&gt;
-                &lt;nml_option name=&quot;input_soil_data&quot;                   type=&quot;character&quot;     default_value=&quot;STAS&quot;/&gt;
-                &lt;nml_option name=&quot;input_soil_temperature_lag&quot;        type=&quot;integer&quot;       default_value=&quot;140&quot;/&gt;
-                &lt;nml_option name=&quot;num_soil_layers&quot;                   type=&quot;integer&quot;       default_value=&quot;4&quot;/&gt;
-                &lt;nml_option name=&quot;months&quot;                            type=&quot;integer&quot;       default_value=&quot;12&quot;/&gt;
-                &lt;nml_option name=&quot;noznlev&quot;                           type=&quot;integer&quot;       default_value=&quot;59&quot;/&gt;
-                &lt;nml_option name=&quot;naerlev&quot;                           type=&quot;integer&quot;       default_value=&quot;29&quot;/&gt;
-                &lt;nml_option name=&quot;camdim1&quot;                           type=&quot;integer&quot;       default_value=&quot;4&quot;/&gt;
-                &lt;nml_option name=&quot;config_frac_seaice&quot;                type=&quot;logical&quot;       default_value=&quot;false&quot;/&gt;
-                &lt;nml_option name=&quot;config_sfc_albedo&quot;                 type=&quot;logical&quot;       default_value=&quot;false&quot;/&gt;
-                &lt;nml_option name=&quot;config_sfc_snowalbedo&quot;             type=&quot;logical&quot;       default_value=&quot;false&quot;/&gt;
-                &lt;nml_option name=&quot;config_sst_update&quot;                 type=&quot;logical&quot;       default_value=&quot;false&quot;/&gt;
-                &lt;nml_option name=&quot;config_sstdiurn_update&quot;            type=&quot;logical&quot;       default_value=&quot;false&quot;/&gt;
-                &lt;nml_option name=&quot;config_deepsoiltemp_update&quot;        type=&quot;logical&quot;       default_value=&quot;false&quot;/&gt;
-                &lt;nml_option name=&quot;config_n_physics&quot;                  type=&quot;integer&quot;       default_value=&quot;1&quot;/&gt;
-                &lt;nml_option name=&quot;config_n_microp&quot;                   type=&quot;integer&quot;       default_value=&quot;1&quot;/&gt;
-                &lt;nml_option name=&quot;config_n_conv&quot;                     type=&quot;integer&quot;       default_value=&quot;1&quot;/&gt;
-                &lt;nml_option name=&quot;config_n_pbl&quot;                      type=&quot;integer&quot;       default_value=&quot;1&quot;/&gt;
-                &lt;nml_option name=&quot;config_n_lsm&quot;                      type=&quot;integer&quot;       default_value=&quot;1&quot;/&gt;
-                &lt;nml_option name=&quot;config_n_eddy&quot;                     type=&quot;integer&quot;       default_value=&quot;1&quot;/&gt;
-                &lt;nml_option name=&quot;config_n_radt_lw&quot;                  type=&quot;integer&quot;       default_value=&quot;1&quot;/&gt;
-                &lt;nml_option name=&quot;config_n_radt_sw&quot;                  type=&quot;integer&quot;       default_value=&quot;1&quot;/&gt;
-                &lt;nml_option name=&quot;config_radtlw_interval&quot;            type=&quot;character&quot;     default_value=&quot;none&quot;/&gt;
-                &lt;nml_option name=&quot;config_radtsw_interval&quot;            type=&quot;character&quot;     default_value=&quot;none&quot;/&gt;
-                &lt;nml_option name=&quot;config_conv_interval&quot;              type=&quot;character&quot;     default_value=&quot;none&quot;/&gt;
-                &lt;nml_option name=&quot;config_pbl_interval&quot;               type=&quot;character&quot;     default_value=&quot;none&quot;/&gt;
-                &lt;nml_option name=&quot;config_camrad_abs_update&quot;          type=&quot;character&quot;     default_value=&quot;06:00:00&quot;/&gt;
-                &lt;nml_option name=&quot;config_greeness_update&quot;            type=&quot;character&quot;     default_value=&quot;24:00:00&quot;/&gt;
-                &lt;nml_option name=&quot;config_bucket_update&quot;              type=&quot;character&quot;     default_value=&quot;none&quot;/&gt;
-                &lt;nml_option name=&quot;config_microp_scheme&quot;              type=&quot;character&quot;     default_value=&quot;off&quot;/&gt;
-                &lt;nml_option name=&quot;config_conv_shallow_scheme&quot;        type=&quot;character&quot;     default_value=&quot;off&quot;/&gt;
-                &lt;nml_option name=&quot;config_conv_deep_scheme&quot;           type=&quot;character&quot;     default_value=&quot;off&quot;/&gt;
-                &lt;nml_option name=&quot;config_eddy_scheme&quot;                type=&quot;character&quot;     default_value=&quot;off&quot;/&gt;
-                &lt;nml_option name=&quot;config_lsm_scheme&quot;                 type=&quot;character&quot;     default_value=&quot;off&quot;/&gt;
-                &lt;nml_option name=&quot;config_pbl_scheme&quot;                 type=&quot;character&quot;     default_value=&quot;off&quot;/&gt;
-                &lt;nml_option name=&quot;config_radt_cld_scheme&quot;            type=&quot;character&quot;     default_value=&quot;off&quot;/&gt;
-                &lt;nml_option name=&quot;config_radt_lw_scheme&quot;             type=&quot;character&quot;     default_value=&quot;off&quot;/&gt;
-                &lt;nml_option name=&quot;config_radt_sw_scheme&quot;             type=&quot;character&quot;     default_value=&quot;off&quot;/&gt;
-                &lt;nml_option name=&quot;config_sfclayer_scheme&quot;            type=&quot;character&quot;     default_value=&quot;off&quot;/&gt;
-                &lt;nml_option name=&quot;config_bucket_radt&quot;                type=&quot;real&quot;          default_value=&quot;0.0_RKIND&quot;/&gt;
-                &lt;nml_option name=&quot;config_bucket_rainc&quot;               type=&quot;real&quot;          default_value=&quot;0.0_RKIND&quot;/&gt;
-                &lt;nml_option name=&quot;config_bucket_rainnc&quot;              type=&quot;real&quot;          default_value=&quot;0.0_RKIND&quot;/&gt;
-        &lt;/nml_record&gt;
 
+&lt;!-- **************************************************************************************** --&gt;
+&lt;!-- ************************************** Variables *************************************** --&gt;
+&lt;!-- **************************************************************************************** --&gt;
 
-&lt;!-- Variables --&gt;
+        &lt;var_struct name=&quot;mesh&quot; time_levs=&quot;0&quot;&gt;
 
-        &lt;var_struct name=&quot;state&quot; time_levs=&quot;2&quot;&gt;
-                &lt;var name=&quot;xtime&quot;     type=&quot;text&quot;     dimensions=&quot;Time&quot;                        streams=&quot;iro&quot;/&gt;
-                &lt;var name=&quot;u&quot;         type=&quot;real&quot;     dimensions=&quot;nVertLevels nEdges Time&quot;     streams=&quot;iro&quot;/&gt;
-                &lt;var name=&quot;w&quot;         type=&quot;real&quot;     dimensions=&quot;nVertLevelsP1 nCells Time&quot;   streams=&quot;iro&quot;/&gt;
-                &lt;var name=&quot;rho_zz&quot;    type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;r&quot;/&gt;
-                &lt;var name=&quot;theta_m&quot;   type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;r&quot;/&gt;
-                &lt;var name=&quot;m_ps&quot;      type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;/&gt;
-                &lt;var_array name=&quot;scalars&quot; type=&quot;real&quot; dimensions=&quot;nVertLevels nCells Time&quot;&gt;
-                        &lt;var name=&quot;qv&quot;      array_group=&quot;moist&quot;       streams=&quot;iro&quot;/&gt;
-                        &lt;var name=&quot;qc&quot;      array_group=&quot;moist&quot;       streams=&quot;iro&quot;/&gt;
-                        &lt;var name=&quot;qr&quot;      array_group=&quot;moist&quot;       streams=&quot;iro&quot;/&gt;
-                        &lt;var name=&quot;qi&quot;      array_group=&quot;moist&quot;       streams=&quot;iro&quot;/&gt;
-                        &lt;var name=&quot;qs&quot;      array_group=&quot;moist&quot;       streams=&quot;iro&quot;/&gt;
-                        &lt;var name=&quot;qg&quot;      array_group=&quot;moist&quot;       streams=&quot;iro&quot;/&gt;
-                        &lt;var name=&quot;qnr&quot;     array_group=&quot;number&quot;      streams=&quot;iro&quot;/&gt;
-                        &lt;var name=&quot;qni&quot;     array_group=&quot;number&quot;      streams=&quot;iro&quot;/&gt;
-                &lt;/var_array&gt;
-                &lt;var_array name=&quot;aerosols&quot; type=&quot;real&quot; dimensions=&quot;nAerLevels nCells Time&quot;&gt;
-                        &lt;var name=&quot;sul&quot;     array_group=&quot;aer_cam&quot;/&gt;
-                        &lt;var name=&quot;sslt&quot;    array_group=&quot;aer_cam&quot;/&gt;
-                        &lt;var name=&quot;dust1&quot;   array_group=&quot;aer_cam&quot;/&gt;
-                        &lt;var name=&quot;dust2&quot;   array_group=&quot;aer_cam&quot;/&gt;
-                        &lt;var name=&quot;dust3&quot;   array_group=&quot;aer_cam&quot;/&gt;
-                        &lt;var name=&quot;dust4&quot;   array_group=&quot;aer_cam&quot;/&gt;
-                        &lt;var name=&quot;ocpho&quot;   array_group=&quot;aer_cam&quot;/&gt;
-                        &lt;var name=&quot;bcpho&quot;   array_group=&quot;aer_cam&quot;/&gt;
-                        &lt;var name=&quot;ocphi&quot;   array_group=&quot;aer_cam&quot;/&gt;
-                        &lt;var name=&quot;bcphi&quot;   array_group=&quot;aer_cam&quot;/&gt;
-                        &lt;var name=&quot;bg&quot;      array_group=&quot;aer_cam&quot;/&gt;
-                        &lt;var name=&quot;volc&quot;    array_group=&quot;aer_cam&quot;/&gt;
-                &lt;/var_array&gt;
-        &lt;/var_struct&gt;
-
-        &lt;var_struct name=&quot;mesh&quot; time_levs=&quot;0&quot;&gt;
+                &lt;!-- horizontal grid structure --&gt;
                 &lt;var name=&quot;latCell&quot;                   type=&quot;real&quot;     dimensions=&quot;nCells&quot;                      streams=&quot;iro&quot;/&gt;
                 &lt;var name=&quot;lonCell&quot;                   type=&quot;real&quot;     dimensions=&quot;nCells&quot;                      streams=&quot;iro&quot;/&gt;
                 &lt;var name=&quot;xCell&quot;                     type=&quot;real&quot;     dimensions=&quot;nCells&quot;                      streams=&quot;iro&quot;/&gt;
@@ -220,11 +150,17 @@
                 &lt;var name=&quot;meshDensity&quot;               type=&quot;real&quot;     dimensions=&quot;nCells&quot;                      streams=&quot;iro&quot;/&gt;
                 &lt;var name=&quot;meshScalingDel2&quot;           type=&quot;real&quot;     dimensions=&quot;nEdges&quot;                      streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;meshScalingDel4&quot;           type=&quot;real&quot;     dimensions=&quot;nEdges&quot;                      streams=&quot;ro&quot;/&gt;
+
+                &lt;!-- coefficients for vertical extrapolation to the surface --&gt;
                 &lt;var name=&quot;cf1&quot;                       type=&quot;real&quot;     dimensions=&quot;&quot;                            streams=&quot;iro&quot;/&gt;
                 &lt;var name=&quot;cf2&quot;                       type=&quot;real&quot;     dimensions=&quot;&quot;                            streams=&quot;iro&quot;/&gt;
                 &lt;var name=&quot;cf3&quot;                       type=&quot;real&quot;     dimensions=&quot;&quot;                            streams=&quot;iro&quot;/&gt;
+
+                &lt;!-- coefficients used by &quot;newpx&quot; horizontal pressure gradient option --&gt;
                 &lt;var name=&quot;cpr&quot;                       type=&quot;real&quot;     dimensions=&quot;THREE nEdges&quot;                streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;cpl&quot;                       type=&quot;real&quot;     dimensions=&quot;THREE nEdges&quot;                streams=&quot;ro&quot;/&gt;
+
+                &lt;!-- description of the vertical grid structure --&gt;
                 &lt;var name=&quot;hx&quot;                        type=&quot;real&quot;     dimensions=&quot;nVertLevelsP1 nCells&quot;        streams=&quot;iro&quot;/&gt;
                 &lt;var name=&quot;zgrid&quot;                     type=&quot;real&quot;     dimensions=&quot;nVertLevelsP1 nCells&quot;        streams=&quot;iro&quot;/&gt;
                 &lt;var name=&quot;rdzw&quot;                      type=&quot;real&quot;     dimensions=&quot;nVertLevels&quot;                 streams=&quot;iro&quot;/&gt;
@@ -238,27 +174,80 @@
                 &lt;var name=&quot;zb3&quot;                       type=&quot;real&quot;     dimensions=&quot;nVertLevelsP1 TWO nEdges&quot;    streams=&quot;iro&quot;/&gt;
                 &lt;var name=&quot;pzm&quot;                       type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells&quot;          streams=&quot;r&quot;/&gt;
                 &lt;var name=&quot;pzp&quot;                       type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells&quot;          streams=&quot;r&quot;/&gt;
+
+                &lt;!-- W-Rayleigh damping coefficients --&gt;
                 &lt;var name=&quot;dss&quot;                       type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells&quot;          streams=&quot;iro&quot;/&gt;
+
                 &lt;var name=&quot;u_init&quot;                    type=&quot;real&quot;     dimensions=&quot;nVertLevels&quot;                 streams=&quot;iro&quot;/&gt;
                 &lt;var name=&quot;t_init&quot;                    type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells&quot;          streams=&quot;iro&quot;/&gt;
                 &lt;var name=&quot;qv_init&quot;                   type=&quot;real&quot;     dimensions=&quot;nVertLevels&quot;                 streams=&quot;iro&quot;/&gt;
+
+                &lt;!-- Space needed for advection --&gt;
                 &lt;var name=&quot;deriv_two&quot;                 type=&quot;real&quot;     dimensions=&quot;FIFTEEN TWO nEdges&quot;          streams=&quot;ir&quot;/&gt;
                 &lt;var name=&quot;advCells&quot;                  type=&quot;integer&quot;  dimensions=&quot;TWENTYONE nCells&quot;            streams=&quot;ir&quot;/&gt;
                 &lt;var name=&quot;adv_coefs&quot;                 type=&quot;real&quot;     dimensions=&quot;FIFTEEN nEdges&quot;/&gt;
                 &lt;var name=&quot;adv_coefs_3rd&quot;             type=&quot;real&quot;     dimensions=&quot;FIFTEEN nEdges&quot;/&gt;
                 &lt;var name=&quot;advCellsForEdge&quot;           type=&quot;integer&quot;  dimensions=&quot;FIFTEEN nEdges&quot;/&gt;
                 &lt;var name=&quot;nAdvCellsForEdge&quot;          type=&quot;integer&quot;  dimensions=&quot;nEdges&quot;/&gt;
+
+                &lt;!-- Space needed for deformation calculation weights --&gt;
                 &lt;var name=&quot;defc_a&quot;                    type=&quot;real&quot;     dimensions=&quot;maxEdges nCells&quot;             streams=&quot;iro&quot;/&gt;
                 &lt;var name=&quot;defc_b&quot;                    type=&quot;real&quot;     dimensions=&quot;maxEdges nCells&quot;             streams=&quot;iro&quot;/&gt;
+
+                &lt;!-- Arrays required for reconstruction of velocity field --&gt;
                 &lt;var name=&quot;coeffs_reconstruct&quot;        type=&quot;real&quot;     dimensions=&quot;R3 maxEdges nCells&quot;          streams=&quot;iro&quot;/&gt;
                 &lt;var name=&quot;east&quot;                      type=&quot;real&quot;     dimensions=&quot;R3 nCells&quot;                   streams=&quot;r&quot;/&gt;
                 &lt;var name=&quot;north&quot;                     type=&quot;real&quot;     dimensions=&quot;R3 nCells&quot;                   streams=&quot;r&quot;/&gt;
+
+                &lt;!-- Arrays needed only in the CAM LW and SW radiation codes: Ozone --&gt;
                 &lt;var name=&quot;pin&quot;                       type=&quot;real&quot;     dimensions=&quot;nOznLevels nCells&quot;/&gt;
                 &lt;var name=&quot;ozmixm&quot;                    type=&quot;real&quot;     dimensions=&quot;nMonths nOznLevels nCells&quot;/&gt;
+
+                &lt;!-- Arrays needed only in the CAM LW and SW radiation codes: Aerosols --&gt;
                 &lt;var name=&quot;m_hybi&quot;                    type=&quot;real&quot;     dimensions=&quot;nAerLevels nCells&quot;/&gt;
         &lt;/var_struct&gt;
 
+        &lt;var_struct name=&quot;state&quot; time_levs=&quot;2&quot;&gt;
+
+                &lt;var name=&quot;xtime&quot;     type=&quot;text&quot;     dimensions=&quot;Time&quot;                        streams=&quot;iro&quot;/&gt;
+
+                &lt;!-- Prognostic variables: read from input, saved in restart, and written to output --&gt;
+                &lt;var name=&quot;u&quot;         type=&quot;real&quot;     dimensions=&quot;nVertLevels nEdges Time&quot;     streams=&quot;iro&quot;/&gt;
+                &lt;var name=&quot;w&quot;         type=&quot;real&quot;     dimensions=&quot;nVertLevelsP1 nCells Time&quot;   streams=&quot;iro&quot;/&gt;
+                &lt;var name=&quot;rho_zz&quot;    type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;r&quot;/&gt;
+                &lt;var name=&quot;theta_m&quot;   type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;r&quot;/&gt;
+                &lt;var name=&quot;m_ps&quot;      type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;/&gt;
+                &lt;var_array name=&quot;scalars&quot; type=&quot;real&quot; dimensions=&quot;nVertLevels nCells Time&quot;&gt;
+                        &lt;var name=&quot;qv&quot;      array_group=&quot;moist&quot;       streams=&quot;iro&quot;/&gt;
+                        &lt;var name=&quot;qc&quot;      array_group=&quot;moist&quot;       streams=&quot;iro&quot;/&gt;
+                        &lt;var name=&quot;qr&quot;      array_group=&quot;moist&quot;       streams=&quot;iro&quot;/&gt;
+                        &lt;var name=&quot;qi&quot;      array_group=&quot;moist&quot;       streams=&quot;iro&quot;/&gt;
+                        &lt;var name=&quot;qs&quot;      array_group=&quot;moist&quot;       streams=&quot;iro&quot;/&gt;
+                        &lt;var name=&quot;qg&quot;      array_group=&quot;moist&quot;       streams=&quot;iro&quot;/&gt;
+                        &lt;var name=&quot;qnr&quot;     array_group=&quot;number&quot;      streams=&quot;iro&quot;/&gt;
+                        &lt;var name=&quot;qni&quot;     array_group=&quot;number&quot;      streams=&quot;iro&quot;/&gt;
+                &lt;/var_array&gt;
+
+                &lt;var_array name=&quot;aerosols&quot; type=&quot;real&quot; dimensions=&quot;nAerLevels nCells Time&quot;&gt;
+                        &lt;var name=&quot;sul&quot;     array_group=&quot;aer_cam&quot;/&gt;
+                        &lt;var name=&quot;sslt&quot;    array_group=&quot;aer_cam&quot;/&gt;
+                        &lt;var name=&quot;dust1&quot;   array_group=&quot;aer_cam&quot;/&gt;
+                        &lt;var name=&quot;dust2&quot;   array_group=&quot;aer_cam&quot;/&gt;
+                        &lt;var name=&quot;dust3&quot;   array_group=&quot;aer_cam&quot;/&gt;
+                        &lt;var name=&quot;dust4&quot;   array_group=&quot;aer_cam&quot;/&gt;
+                        &lt;var name=&quot;ocpho&quot;   array_group=&quot;aer_cam&quot;/&gt;
+                        &lt;var name=&quot;bcpho&quot;   array_group=&quot;aer_cam&quot;/&gt;
+                        &lt;var name=&quot;ocphi&quot;   array_group=&quot;aer_cam&quot;/&gt;
+                        &lt;var name=&quot;bcphi&quot;   array_group=&quot;aer_cam&quot;/&gt;
+                        &lt;var name=&quot;bg&quot;      array_group=&quot;aer_cam&quot;/&gt;
+                        &lt;var name=&quot;volc&quot;    array_group=&quot;aer_cam&quot;/&gt;
+                &lt;/var_array&gt;
+        &lt;/var_struct&gt;
+
         &lt;var_struct name=&quot;diag&quot; time_levs=&quot;1&quot;&gt;
+
+                &lt;!-- coefficients for the vertical tridiagonal solve --&gt;
+                &lt;!-- Note:  these could be local but...              --&gt;
                 &lt;var name=&quot;cofrz&quot;                   type=&quot;real&quot;     dimensions=&quot;nVertLevels Time&quot;/&gt;
                 &lt;var name=&quot;cofwr&quot;                   type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;/&gt;
                 &lt;var name=&quot;cofwz&quot;                   type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;/&gt;
@@ -267,7 +256,14 @@
                 &lt;var name=&quot;a_tri&quot;                   type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;/&gt;
                 &lt;var name=&quot;alpha_tri&quot;               type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;/&gt;
                 &lt;var name=&quot;gamma_tri&quot;               type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;/&gt;
+
+                &lt;!-- state variables diagnosed from prognostic state --&gt;
                 &lt;var name=&quot;pressure_p&quot;              type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;ro&quot;/&gt;
+
+                &lt;!-- Diagnostic fields: only written to output                                                           --&gt;
+                &lt;!-- NOTE: added the &quot;r&quot; option to rho,theta,uReconstructZonal,and uReconstructMeridional for use of the --&gt;
+                &lt;!-- non-hydrostatic dynamical core in a data assimilation framework. NOTE that the &quot;r&quot; option is not    --&gt;
+                &lt;!-- needed for those 4 variables to get bit for bit restart capabilities, otherwise.                    --&gt;
                 &lt;var name=&quot;rho&quot;                     type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;iro&quot;/&gt;
                 &lt;var name=&quot;theta&quot;                   type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;iro&quot;/&gt;
                 &lt;var name=&quot;rh&quot;                      type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;iro&quot;/&gt;
@@ -279,45 +275,71 @@
                 &lt;var name=&quot;ke&quot;                      type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;o&quot;/&gt;
                 &lt;var name=&quot;pv_vertex&quot;               type=&quot;real&quot;     dimensions=&quot;nVertLevels nVertices Time&quot;  streams=&quot;o&quot;/&gt;
                 &lt;var name=&quot;pv_cell&quot;                 type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;o&quot;/&gt;
+
+                &lt;!-- reconstructed horizontal velocity vectors at cell centers --&gt;
                 &lt;var name=&quot;uReconstructX&quot;           type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;o&quot;/&gt;
                 &lt;var name=&quot;uReconstructY&quot;           type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;o&quot;/&gt;
                 &lt;var name=&quot;uReconstructZ&quot;           type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;o&quot;/&gt;
                 &lt;var name=&quot;uReconstructZonal&quot;       type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;uReconstructMeridional&quot;  type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;ro&quot;/&gt;
+
+                &lt;!-- Other diagnostic variables --&gt;
                 &lt;var name=&quot;rv&quot;                      type=&quot;real&quot;     dimensions=&quot;nVertLevels nEdges Time&quot;     streams=&quot;r&quot;/&gt;
                 &lt;var name=&quot;circulation&quot;             type=&quot;real&quot;     dimensions=&quot;nVertLevels nVertices Time&quot;  streams=&quot;r&quot;/&gt;
                 &lt;var name=&quot;gradPVt&quot;                 type=&quot;real&quot;     dimensions=&quot;nVertLevels nEdges Time&quot;/&gt;
                 &lt;var name=&quot;gradPVn&quot;                 type=&quot;real&quot;     dimensions=&quot;nVertLevels nEdges Time&quot;/&gt;
                 &lt;var name=&quot;h_divergence&quot;            type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;o&quot;/&gt;
+
                 &lt;var name=&quot;exner&quot;                   type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;exner_base&quot;              type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;iro&quot;/&gt;
                 &lt;var name=&quot;rtheta_base&quot;             type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;r&quot;/&gt;
                 &lt;var name=&quot;pressure_base&quot;           type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;iro&quot;/&gt;
                 &lt;var name=&quot;rho_base&quot;                type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;iro&quot;/&gt;
                 &lt;var name=&quot;theta_base&quot;              type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;iro&quot;/&gt;
+
                 &lt;var name=&quot;ruAvg&quot;                   type=&quot;real&quot;     dimensions=&quot;nVertLevels nEdges Time&quot;/&gt;
                 &lt;var name=&quot;wwAvg&quot;                   type=&quot;real&quot;     dimensions=&quot;nVertLevelsP1 nCells Time&quot;/&gt;
                 &lt;var name=&quot;cqu&quot;                     type=&quot;real&quot;     dimensions=&quot;nVertLevels nEdges Time&quot;/&gt;
                 &lt;var name=&quot;cqw&quot;                     type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;/&gt;
+
+                &lt;!-- coupled variables needed by solver, but not output --&gt;
                 &lt;var name=&quot;ru&quot;                      type=&quot;real&quot;     dimensions=&quot;nVertLevels nEdges Time&quot;     streams=&quot;r&quot;/&gt;
                 &lt;var name=&quot;ru_p&quot;                    type=&quot;real&quot;     dimensions=&quot;nVertLevels nEdges Time&quot;     streams=&quot;r&quot;/&gt;
                 &lt;var name=&quot;ru_save&quot;                 type=&quot;real&quot;     dimensions=&quot;nVertLevels nEdges Time&quot;/&gt;
+
                 &lt;var name=&quot;rw&quot;                      type=&quot;real&quot;     dimensions=&quot;nVertLevelsP1 nCells Time&quot;   streams=&quot;r&quot;/&gt;
                 &lt;var name=&quot;rw_p&quot;                    type=&quot;real&quot;     dimensions=&quot;nVertLevelsP1 nCells Time&quot;   streams=&quot;r&quot;/&gt;
                 &lt;var name=&quot;rw_save&quot;                 type=&quot;real&quot;     dimensions=&quot;nVertLevelsP1 nCells Time&quot;/&gt;
+
                 &lt;var name=&quot;rtheta_p&quot;                type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;r&quot;/&gt;
                 &lt;var name=&quot;rtheta_pp&quot;               type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;/&gt;
                 &lt;var name=&quot;rtheta_p_save&quot;           type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;/&gt;
                 &lt;var name=&quot;rtheta_pp_old&quot;           type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;/&gt;
+
                 &lt;var name=&quot;rho_p&quot;                   type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;r&quot;/&gt;
                 &lt;var name=&quot;rho_pp&quot;                  type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;/&gt;
                 &lt;var name=&quot;rho_p_save&quot;              type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;/&gt;
+
                 &lt;var name=&quot;kdiff&quot;                   type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;/&gt;
+
                 &lt;var name=&quot;surface_pressure&quot;        type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;iro&quot;/&gt;
                 &lt;var name=&quot;surface_temperature&quot;     type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;o&quot;/&gt;
         &lt;/var_struct&gt;
 
         &lt;var_struct name=&quot;tend&quot; time_levs=&quot;1&quot;&gt;
+
+                
+                &lt;!-- tendencies for prognostic variables --&gt;
+                &lt;var name=&quot;tend_u&quot;             name_in_code=&quot;u&quot;           type=&quot;real&quot;     dimensions=&quot;nVertLevels nEdges Time&quot;     streams=&quot;o&quot;/&gt;
+                &lt;var name=&quot;tend_w&quot;             name_in_code=&quot;w&quot;           type=&quot;real&quot;     dimensions=&quot;nVertLevelsP1 nCells Time&quot;   streams=&quot;o&quot;/&gt;
+                &lt;var name=&quot;tend_rho&quot;           name_in_code=&quot;rho_zz&quot;      type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;o&quot;/&gt;
+                &lt;var name=&quot;tend_theta&quot;         name_in_code=&quot;theta_m&quot;     type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;o&quot;/&gt;
+                &lt;var name=&quot;rt_diabatic_tend&quot;                              type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;r&quot;/&gt;
+                &lt;var name=&quot;euler_tend_u&quot;       name_in_code=&quot;u_euler&quot;     type=&quot;real&quot;     dimensions=&quot;nVertLevels nEdges Time&quot;/&gt;
+                &lt;var name=&quot;euler_tend_w&quot;       name_in_code=&quot;w_euler&quot;     type=&quot;real&quot;     dimensions=&quot;nVertLevelsP1 nCells Time&quot;/&gt;
+                &lt;var name=&quot;euler_tend_theta&quot;   name_in_code=&quot;theta_euler&quot; type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;/&gt;
+
+                &lt;!-- scalar tendencies --&gt;
                 &lt;var_array name=&quot;scalars&quot; type=&quot;real&quot; dimensions=&quot;nVertLevels nCells Time&quot;&gt;
                         &lt;var name=&quot;tend_qv&quot;    name_in_code=&quot;qv&quot;        array_group=&quot;moist&quot;       streams=&quot;o&quot;/&gt;
                         &lt;var name=&quot;tend_qc&quot;    name_in_code=&quot;qc&quot;        array_group=&quot;moist&quot;       streams=&quot;o&quot;/&gt;
@@ -328,44 +350,190 @@
                         &lt;var name=&quot;tend_qnr&quot;   name_in_code=&quot;qnr&quot;       array_group=&quot;number&quot;      streams=&quot;o&quot;/&gt;
                         &lt;var name=&quot;tend_qni&quot;   name_in_code=&quot;qni&quot;       array_group=&quot;number&quot;      streams=&quot;o&quot;/&gt;
                 &lt;/var_array&gt;
-                &lt;var name=&quot;tend_u&quot;             name_in_code=&quot;u&quot;           type=&quot;real&quot;     dimensions=&quot;nVertLevels nEdges Time&quot;     streams=&quot;o&quot;/&gt;
-                &lt;var name=&quot;tend_w&quot;             name_in_code=&quot;w&quot;           type=&quot;real&quot;     dimensions=&quot;nVertLevelsP1 nCells Time&quot;   streams=&quot;o&quot;/&gt;
-                &lt;var name=&quot;tend_rho&quot;           name_in_code=&quot;rho_zz&quot;      type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;o&quot;/&gt;
-                &lt;var name=&quot;tend_theta&quot;         name_in_code=&quot;theta_m&quot;     type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;o&quot;/&gt;
-                &lt;var name=&quot;rt_diabatic_tend&quot;                              type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;r&quot;/&gt;
-                &lt;var name=&quot;euler_tend_u&quot;       name_in_code=&quot;u_euler&quot;     type=&quot;real&quot;     dimensions=&quot;nVertLevels nEdges Time&quot;/&gt;
-                &lt;var name=&quot;euler_tend_w&quot;       name_in_code=&quot;w_euler&quot;     type=&quot;real&quot;     dimensions=&quot;nVertLevelsP1 nCells Time&quot;/&gt;
-                &lt;var name=&quot;euler_tend_theta&quot;   name_in_code=&quot;theta_euler&quot; type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;/&gt;
         &lt;/var_struct&gt;
 
+
+
+&lt;!-- ================================================================================================== --&gt;
+&lt;!--  DECLARATIONS OF ALL PHYSICS VARIABLES (will need to be moved to a Physics Registry shared by the  --&gt;
+&lt;!--  hydrostatic and non-hydrostatic dynamical cores):                                                 --&gt;
+&lt;!-- ================================================================================================== --&gt;
+
+
+        &lt;nml_record name=&quot;physics&quot;&gt;
+                &lt;!-- NAMELIST VARIABLES ADDED FOR INITIALIZATION OF SURFACE CHARACTERISTICS: --&gt;
+                &lt;nml_option name=&quot;input_landuse_data&quot;                type=&quot;character&quot;     default_value=&quot;USGS&quot;/&gt;
+                &lt;nml_option name=&quot;input_soil_data&quot;                   type=&quot;character&quot;     default_value=&quot;STAS&quot;/&gt;
+                &lt;nml_option name=&quot;input_soil_temperature_lag&quot;        type=&quot;integer&quot;       default_value=&quot;140&quot;/&gt;
+                &lt;nml_option name=&quot;num_soil_layers&quot;                   type=&quot;integer&quot;       default_value=&quot;4&quot;/&gt;
+                &lt;nml_option name=&quot;months&quot;                            type=&quot;integer&quot;       default_value=&quot;12&quot;/&gt;
+
+                &lt;!-- ... DIMENSION NEEDED FOR OZONE AND AEROSOLS CONCENTRATIONS IN THE CAM LONGWAVE AND SHORTWAVE --&gt;
+                &lt;!-- ... RADIATION PARAMETERIZATIONS.                                                             --&gt;
+                &lt;nml_option name=&quot;noznlev&quot;                           type=&quot;integer&quot;       default_value=&quot;59&quot;/&gt;
+                &lt;nml_option name=&quot;naerlev&quot;                           type=&quot;integer&quot;       default_value=&quot;29&quot;/&gt;
+                &lt;nml_option name=&quot;camdim1&quot;                           type=&quot;integer&quot;       default_value=&quot;4&quot;/&gt;
+
+                &lt;!-- NAMELIST VARIABLES ADDED FOR PHYSICS CONFIGURATION: --&gt;
+                &lt;nml_option name=&quot;config_frac_seaice&quot;                type=&quot;logical&quot;       default_value=&quot;false&quot;/&gt;
+                &lt;nml_option name=&quot;config_sfc_albedo&quot;                 type=&quot;logical&quot;       default_value=&quot;false&quot;/&gt;
+                &lt;nml_option name=&quot;config_sfc_snowalbedo&quot;             type=&quot;logical&quot;       default_value=&quot;false&quot;/&gt;
+                &lt;nml_option name=&quot;config_sst_update&quot;                 type=&quot;logical&quot;       default_value=&quot;false&quot;/&gt;
+                &lt;nml_option name=&quot;config_sstdiurn_update&quot;            type=&quot;logical&quot;       default_value=&quot;false&quot;/&gt;
+                &lt;nml_option name=&quot;config_deepsoiltemp_update&quot;        type=&quot;logical&quot;       default_value=&quot;false&quot;/&gt;
+
+                &lt;nml_option name=&quot;config_n_physics&quot;                  type=&quot;integer&quot;       default_value=&quot;1&quot;/&gt;
+                &lt;nml_option name=&quot;config_n_microp&quot;                   type=&quot;integer&quot;       default_value=&quot;1&quot;/&gt;
+                &lt;nml_option name=&quot;config_n_conv&quot;                     type=&quot;integer&quot;       default_value=&quot;1&quot;/&gt;
+                &lt;nml_option name=&quot;config_n_pbl&quot;                      type=&quot;integer&quot;       default_value=&quot;1&quot;/&gt;
+                &lt;nml_option name=&quot;config_n_lsm&quot;                      type=&quot;integer&quot;       default_value=&quot;1&quot;/&gt;
+                &lt;nml_option name=&quot;config_n_eddy&quot;                     type=&quot;integer&quot;       default_value=&quot;1&quot;/&gt;
+                &lt;nml_option name=&quot;config_n_radt_lw&quot;                  type=&quot;integer&quot;       default_value=&quot;1&quot;/&gt;
+                &lt;nml_option name=&quot;config_n_radt_sw&quot;                  type=&quot;integer&quot;       default_value=&quot;1&quot;/&gt;
+
+                &lt;nml_option name=&quot;config_radtlw_interval&quot;            type=&quot;character&quot;     default_value=&quot;none&quot;/&gt;
+                &lt;nml_option name=&quot;config_radtsw_interval&quot;            type=&quot;character&quot;     default_value=&quot;none&quot;/&gt;
+                &lt;nml_option name=&quot;config_conv_interval&quot;              type=&quot;character&quot;     default_value=&quot;none&quot;/&gt;
+                &lt;nml_option name=&quot;config_pbl_interval&quot;               type=&quot;character&quot;     default_value=&quot;none&quot;/&gt;
+                &lt;nml_option name=&quot;config_camrad_abs_update&quot;          type=&quot;character&quot;     default_value=&quot;06:00:00&quot;/&gt;
+                &lt;nml_option name=&quot;config_greeness_update&quot;            type=&quot;character&quot;     default_value=&quot;24:00:00&quot;/&gt;
+                &lt;nml_option name=&quot;config_bucket_update&quot;              type=&quot;character&quot;     default_value=&quot;none&quot;/&gt;
+
+                &lt;nml_option name=&quot;config_microp_scheme&quot;              type=&quot;character&quot;     default_value=&quot;off&quot;/&gt;
+                &lt;nml_option name=&quot;config_conv_shallow_scheme&quot;        type=&quot;character&quot;     default_value=&quot;off&quot;/&gt;
+                &lt;nml_option name=&quot;config_conv_deep_scheme&quot;           type=&quot;character&quot;     default_value=&quot;off&quot;/&gt;
+                &lt;nml_option name=&quot;config_eddy_scheme&quot;                type=&quot;character&quot;     default_value=&quot;off&quot;/&gt;
+                &lt;nml_option name=&quot;config_lsm_scheme&quot;                 type=&quot;character&quot;     default_value=&quot;off&quot;/&gt;
+                &lt;nml_option name=&quot;config_pbl_scheme&quot;                 type=&quot;character&quot;     default_value=&quot;off&quot;/&gt;
+                &lt;nml_option name=&quot;config_radt_cld_scheme&quot;            type=&quot;character&quot;     default_value=&quot;off&quot;/&gt;
+                &lt;nml_option name=&quot;config_radt_lw_scheme&quot;             type=&quot;character&quot;     default_value=&quot;off&quot;/&gt;
+                &lt;nml_option name=&quot;config_radt_sw_scheme&quot;             type=&quot;character&quot;     default_value=&quot;off&quot;/&gt;
+                &lt;nml_option name=&quot;config_sfclayer_scheme&quot;            type=&quot;character&quot;     default_value=&quot;off&quot;/&gt;
+
+                &lt;nml_option name=&quot;config_bucket_radt&quot;                type=&quot;real&quot;          default_value=&quot;0.0_RKIND&quot;/&gt;
+                &lt;nml_option name=&quot;config_bucket_rainc&quot;               type=&quot;real&quot;          default_value=&quot;0.0_RKIND&quot;/&gt;
+                &lt;nml_option name=&quot;config_bucket_rainnc&quot;              type=&quot;real&quot;          default_value=&quot;0.0_RKIND&quot;/&gt;
+        &lt;/nml_record&gt;
+
         &lt;var_struct name=&quot;diag_physics&quot; time_levs=&quot;1&quot;&gt;
+
+                &lt;!-- ================================================================================================= --&gt;
+                &lt;!-- ... ARRAYS AND VARIABLES FOR UPDATING THE DEEP SOIL TEMPERATURE:                                  --&gt;
+                &lt;!-- ================================================================================================= --&gt;
+                &lt;!-- nsteps_accum: number of accumulated time-step in a day.                                           --&gt;
+                &lt;!-- ndays_accum : number of accumulated days in a year.                                               --&gt;
+                &lt;!-- tlag        : daily mean surface temperature of prior days                                    [K] --&gt;
+                &lt;!-- tday_accum  : accumulated daily surface temperature for current day                           [K] --&gt;
+                &lt;!-- tyear_mean  : annual mean surface temperature                                                 [K] --&gt;
+                &lt;!-- tyear_accum : accumulated yearly surface temperature for current year                         [K] --&gt;
+
                 &lt;var name=&quot;nsteps_accum&quot;  type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;r&quot;/&gt;
                 &lt;var name=&quot;ndays_accum&quot;   type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;r&quot;/&gt;
+
                 &lt;var name=&quot;tlag&quot;          type=&quot;real&quot;     dimensions=&quot;nLags nCells Time&quot;           streams=&quot;r&quot;/&gt;
                 &lt;var name=&quot;tday_accum&quot;    type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;r&quot;/&gt;
                 &lt;var name=&quot;tyear_mean&quot;    type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;r&quot;/&gt;
                 &lt;var name=&quot;tyear_accum&quot;   type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;r&quot;/&gt;
+
+
+                &lt;!-- ================================================================================================== --&gt;
+                &lt;!-- ... PARAMETERIZATION OF CLOUD MICROPHYSICS:                                                        --&gt;
+                &lt;!-- ================================================================================================== --&gt;
+                &lt;!-- i_rainnc  : counter related to how often rainnc is being reset relative to its bucket value   (-)  --&gt;
+                &lt;!-- rainnc    : accumulated total time-step grid-scale precipitation                             (mm)  --&gt;
+                &lt;!-- rainncv   : time-step total grid-scale precipitation                                         (mm)  --&gt;
+                &lt;!-- snownc    : accumulated grid-scale precipitation of snow                                     (mm)  --&gt;
+                &lt;!-- snowncv   : time-step grid-scale precipitation of snow                                       (mm)  --&gt;
+                &lt;!-- graupelnc : accumulated grid-scale precipitation of graupel                                  (mm)  --&gt;
+                &lt;!-- graupelncv: time-step grid-scale precipitation of graupel                                    (mm)  --&gt;
+                &lt;!-- sr        : time-step ratio of frozen versus total grid-scale precipitation                   (-)  --&gt;
+
                 &lt;var name=&quot;i_rainnc&quot;      type=&quot;integer&quot;  dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;sr&quot;            type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;rainncv&quot;       type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;snowncv&quot;       type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;o&quot;/&gt;
                 &lt;var name=&quot;graupelncv&quot;    type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;o&quot;/&gt;
+
                 &lt;var name=&quot;rainnc&quot;        type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;snownc&quot;        type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;graupelnc&quot;     type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
+
                 &lt;var name=&quot;qsat&quot;          type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;o&quot;/&gt;
                 &lt;var name=&quot;relhum&quot;        type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;o&quot;/&gt;
+
+                &lt;!-- ================================================================================================== --&gt;
+                &lt;!-- ... PARAMETERIZATION OF CONVECTION:                                                                --&gt;
+                &lt;!-- ================================================================================================== --&gt;
+                &lt;!-- i_rainc   : counter related to how often rainc is begin reset relative to its bucket value    (-)  --&gt;
+                &lt;!-- cuprec    : convective precipitation rate                                                  (mm/s)  --&gt;
+                &lt;!-- rainc     : accumulated time-step convective precipitation                                   (mm)  --&gt;
+                &lt;!-- raincv    : time-step convective precipitation                                               (mm)  --&gt;
+
                 &lt;var name=&quot;i_rainc&quot;       type=&quot;integer&quot;  dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;cuprec&quot;        type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;rainc&quot;         type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;raincv&quot;        type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
+
+                &lt;!-- ... KAIN_FRITSCH:                                                                                 --&gt;
+                &lt;!-- cubot     : lowest level of convection                                                        (-) --&gt;
+                &lt;!-- cutop     : highest level of convection                                                       (-) --&gt;
+                &lt;!-- nca       : relaxation time for KF parameterization of convection                             (s) --&gt;
+                &lt;!-- wavg0     : average vertical velocity (KF scheme only)                                    (m s-1) --&gt;
+
                 &lt;var name=&quot;nca&quot;           type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;cubot&quot;         type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;cutop&quot;         type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;w0avg&quot;         type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;ro&quot;/&gt;
+
+
+                &lt;!-- ================================================================================================== --&gt;
+                &lt;!-- ... PARAMETERIZATION OF PLANETARY BOUNDARY LAYER PROCESSES:                                        --&gt;
+                &lt;!-- ================================================================================================== --&gt;
+                &lt;!-- kpbl      : index of PBL top                                                                  (-)  --&gt;
+                &lt;!-- hpbl      : PBL height                                                                        (m)  --&gt;
+                &lt;!-- exch_h    : exchange coefficient                                                              (-)  --&gt;
+
                 &lt;var name=&quot;kpbl&quot;          type=&quot;integer&quot;  dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;hpbl&quot;          type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;exch_h&quot;        type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;o&quot;/&gt;
+
+                &lt;!-- ================================================================================================== --&gt;
+                &lt;!-- ... PARAMETERIZATION OF SURFACE LAYER PROCESSES:                                                   --&gt;
+                &lt;!-- ================================================================================================== --&gt;
+                &lt;!--  br        :bulk richardson number                                                             [-] --&gt;
+                &lt;!--  cd        :drag coefficient at 10m                                                            [-] --&gt;
+                &lt;!--  cda       :drag coefficient at lowest model level                                             [-] --&gt;
+                &lt;!--  chs       :???                                                                                    --&gt;
+                &lt;!--  chs2      :???                                                                                    --&gt;
+                &lt;!--  cqs2      :???                                                                                    --&gt;
+                &lt;!--  ck        :enthalpy exchange coefficient at 10 m                                              [-] --&gt;
+                &lt;!--  cka       :enthalpy exchange coefficient at lowest model level                                [-] --&gt;
+                &lt;!--  cpm       :???                                                                                    --&gt;
+                &lt;!--  flhc      :exchange coefficient for heat                                                      [-] --&gt;
+                &lt;!--  flqc      :exchange coefficient for moisture                                                  [-] --&gt;
+                &lt;!--  gz1oz0    :log of z1 over z0                                                                  [-] --&gt;
+                &lt;!--  hfx       :upward heat flux at the surface                                               [W/m2/s] --&gt;
+                &lt;!--  lh        :latent heat flux at the surface                                                 [W/m2] --&gt;
+                &lt;!--  mavail    :surface moisture availability                                                      [-] --&gt;
+                &lt;!--  mol       :T* in similarity theory                                                            [K] --&gt;
+                &lt;!--  psih      :similarity theory for heat                                                         [-] --&gt;
+                &lt;!--  psim      :similarity theory for momentum                                                     [-] --&gt;
+                &lt;!--  qfx       :upward moisture flux at the surface                                          [kg/m2/s] --&gt;
+                &lt;!--  qgh       :???                                                                                    --&gt;
+                &lt;!--  qsfc      :specific humidity at lower boundary                                            [kg/kg] --&gt;
+                &lt;!--  regime    :flag indicating PBL regime (stable_p,unstable_p,etc...)                            [-] --&gt;
+                &lt;!--  rmol      :1 / Monin Ob length                                                                [-] --&gt;
+                &lt;!--  ust       :u* in similarity theory                                                          [m/s] --&gt;
+                &lt;!--  ustm      :u* in similarity theory without vconv                                            [m/s] --&gt;
+                &lt;!--  zol       :z/L height over Monin-Obukhov length                                               [-] --&gt;
+                &lt;!--  znt       :time-varying roughness length                                                      [m] --&gt;
+                &lt;!--  wspd      :wind speed                                                                       [m/s] --&gt;
+                &lt;!--  DIAGNOSTICS:                                                                                      --&gt;
+                &lt;!--  q2        :specific humidity at 2m                                                        [kg/kg] --&gt;
+                &lt;!--  u10       :u at 10 m                                                                        [m/s] --&gt;
+                &lt;!--  v10       :v at 10 m                                                                        [m/s] --&gt;
+                &lt;!--  t2m       :temperature at 2m                                                                  [K] --&gt;
+                &lt;!--  th2m      :potential temperature at 2m                                                        [K] --&gt;
                 &lt;var name=&quot;hfx&quot;           type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;mavail&quot;        type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;mol&quot;           type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
@@ -375,6 +543,7 @@
                 &lt;var name=&quot;ustm&quot;          type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;zol&quot;           type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;znt&quot;           type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
+
                 &lt;var name=&quot;br&quot;            type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;cd&quot;            type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;cda&quot;           type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
@@ -394,11 +563,50 @@
                 &lt;var name=&quot;regime&quot;        type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;rmol&quot;          type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;wspd&quot;          type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
+
+                &lt;!-- DIAGNOSTICS: --&gt;
                 &lt;var name=&quot;u10&quot;           type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;v10&quot;           type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;q2&quot;            type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;t2m&quot;           type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;th2m&quot;          type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
+
+                &lt;!-- ================================================================================================== --&gt;
+                &lt;!-- ... PARAMETERIZATION OF SHORTWAVE RADIATION:                                                       --&gt;
+                &lt;!-- ================================================================================================== --&gt;
+                &lt;!--  coszr     :cosine of the solar zenith angle                                                   [-] --&gt;
+                &lt;!--  gsw       :net shortwave flux at surface                                                  [W m-2] --&gt;
+                &lt;!--  swcf      :shortwave cloud forcing at top-of-atmosphere                                   [W m-2] --&gt;
+                &lt;!--  swdnb     :all-sky downwelling shortwave flux at bottom-of-atmosphere                     [W m-2] --&gt;
+                &lt;!--  swdnbc    :clear-sky downwelling shortwave flux at bottom-of-atmosphere                   [W m-2] --&gt;
+                &lt;!--  swdnt     :all-sky downwelling shortwave flux at top-of-atmosphere                        [W m-2] --&gt;
+                &lt;!--  swdntc    :clear-sky downwelling shortwave flux at top-of-atmosphere                      [W m-2] --&gt;
+                &lt;!--  swupb     :all-sky upwelling shortwave flux at bottom-of-atmosphere                       [W m-2] --&gt;
+                &lt;!--  swupbc    :clear-sky upwelling shortwave flux at bottom-of-atmosphere                     [W m-2] --&gt;
+                &lt;!--  swupt     :all-sky upwelling shortwave flux at top-of-atmosphere                          [W m-2] --&gt;
+                &lt;!--  swuptc    :clear-sky upwelling shortwave flux at top-of-atmosphere                        [W m-2] --&gt;
+                &lt;!--  acswdnb   :accumulated all-sky downwelling shortwave flux at bottom-of-atmosphere         [J m-2] --&gt;
+                &lt;!--  acswdnbc  :accumulated clear-sky downwelling shortwave flux at bottom-of-atmosphere       [J m-2] --&gt;
+                &lt;!--  acswdnt   :accumulated all-sky downwelling shortwave flux at top-of-atmosphere            [J m-2] --&gt;
+                &lt;!--  acswdntc  :accumulated clear-sky downwelling shortwave flux at top-of-atmosphere          [J m-2] --&gt;
+                &lt;!--  acswupb   :accumulated all-sky upwelling shortwave flux at bottom-of-atmosphere           [J m-2] --&gt;
+                &lt;!--  acswupbc  :accumulated clear-sky upwelling shortwave flux at bottom-of-atmosphere         [J m-2] --&gt;
+                &lt;!--  acswupt   :accumulated all-sky upwelling shortwave flux at top-of-atmosphere              [J m-2] --&gt;
+                &lt;!--  acswuptc  :accumulated clear-sky upwelling shortwave flux at top-of-atmosphere            [J m-2] --&gt;
+                &lt;!--  swdnflx   :                                                                                       --&gt;
+                &lt;!--  swdnflxc  :                                                                                       --&gt;
+                &lt;!--  swupflx   :                                                                                       --&gt;
+                &lt;!--  swupflxc  :                                                                                       --&gt;
+
+                &lt;!--  i_acswdnb : counter related to how often swdnb is begin reset relative to its bucket value    (-) --&gt;
+                &lt;!--  i_acswdnbc: counter related to how often swdnbc is begin reset relative to its bucket value   (-) --&gt;
+                &lt;!--  i_acswdnt : counter related to how often swdnt is begin reset relative to its bucket value    (-) --&gt;
+                &lt;!--  i_acswdntc: counter related to how often swdntc is begin reset relative to its bucket value   (-) --&gt;
+                &lt;!--  i_acswupb : counter related to how often swupb is begin reset relative to its bucket value    (-) --&gt;
+                &lt;!--  i_acswupbc: counter related to how often swupbc is begin reset relative to its bucket value   (-) --&gt;
+                &lt;!--  i_acswupt : counter related to how often swupt is begin reset relative to its bucket value    (-) --&gt;
+                &lt;!--  i_acswuptc: counter related to how often swuptc is begin reset relative to its bucket value   (-) --&gt;
+
                 &lt;var name=&quot;i_acswdnb&quot;     type=&quot;integer&quot;  dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;i_acswdnbc&quot;    type=&quot;integer&quot;  dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;i_acswdnt&quot;     type=&quot;integer&quot;  dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
@@ -407,6 +615,7 @@
                 &lt;var name=&quot;i_acswupbc&quot;    type=&quot;integer&quot;  dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;i_acswupt&quot;     type=&quot;integer&quot;  dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;i_acswuptc&quot;    type=&quot;integer&quot;  dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
+
                 &lt;var name=&quot;coszr&quot;         type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;o&quot;/&gt;
                 &lt;var name=&quot;swcf&quot;          type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;o&quot;/&gt;
                 &lt;var name=&quot;swdnb&quot;         type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;o&quot;/&gt;
@@ -426,10 +635,56 @@
                 &lt;var name=&quot;acswupt&quot;       type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;acswuptc&quot;      type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;gsw&quot;           type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
+
+                &lt;!-- RRTMG SW ONLY: --&gt;
                 &lt;var name=&quot;swdnflx&quot;       type=&quot;real&quot;     dimensions=&quot;nVertLevelsP2 nCells Time&quot;   streams=&quot;o&quot;/&gt;
                 &lt;var name=&quot;swdnflxc&quot;      type=&quot;real&quot;     dimensions=&quot;nVertLevelsP2 nCells Time&quot;   streams=&quot;o&quot;/&gt;
                 &lt;var name=&quot;swupflx&quot;       type=&quot;real&quot;     dimensions=&quot;nVertLevelsP2 nCells Time&quot;   streams=&quot;o&quot;/&gt;
                 &lt;var name=&quot;swupflxc&quot;      type=&quot;real&quot;     dimensions=&quot;nVertLevelsP2 nCells Time&quot;   streams=&quot;o&quot;/&gt;
+
+
+                &lt;!-- ================================================================================================== --&gt;
+                &lt;!-- ... PARAMETERIZATION OF LONGWAVE RADIATION:                                                        --&gt;
+                &lt;!-- ================================================================================================== --&gt;
+
+                &lt;!--  note: glw is the same diagnostic as lwdnb and is used in the land-surface scheme for the calcula- --&gt;
+                &lt;!--        tion of the surface budget. glw is always an output argument to the subroutine rrtmg_lwrad. --&gt;
+                &lt;!--        in contrast,lwdnb is an optional ouput argument to the subroutine rrtmg_lwrad depending on  --&gt;
+                &lt;!--        the presence of lwupt (or not).                                                             --&gt;
+
+                &lt;!--  glw       :all-sky downwelling longwave flux at bottom-of-atmosphere                      [W m-2] --&gt;
+                &lt;!--  lwcf      :longwave cloud forcing at top-of-atmosphere                                    [W m-2] --&gt;
+                &lt;!--  lwdnb     :all-sky downwelling longwave flux at bottom-of-atmosphere                      [W m-2] --&gt;
+                &lt;!--  lwdnbc    :clear-sky downwelling longwave flux at bottom-of-atmosphere                    [W m-2] --&gt;
+                &lt;!--  lwdnt     :all-sky downwelling longwave flux at top-of-atmosphere                         [W m-2] --&gt;
+                &lt;!--  lwdntc    :clear-sky downwelling longwave flux at top-of-atmosphere                       [W m-2] --&gt;
+                &lt;!--  lwupb     :all-sky upwelling longwave flux at bottom-of-atmosphere                        [W m-2] --&gt;
+                &lt;!--  lwupbc    :clear-sky upwelling longwave flux at bottom-of-atmosphere                      [W m-2] --&gt;
+                &lt;!--  lwupt     :all-sky upwelling longwave flux at top-of-atmosphere                           [W m-2] --&gt;
+                &lt;!--  lwuptc    :clear-sky upwelling longwave flux at top-of-atmosphere                         [W m-2] --&gt;
+                &lt;!--  aclwdnb   :accumulated all-sky downwelling longwave flux at bottom-of-atmosphere          [J m-2] --&gt;
+                &lt;!--  aclwdnbc  :accumulated clear-sky downwelling longwave flux at bottom-of-atmosphere        [J m-2] --&gt;
+                &lt;!--  aclwdnt   :accumulated all-sky downwelling longwave flux at top-of-atmosphere             [J m-2] --&gt;
+                &lt;!--  aclwdntc  :accumulated clear-sky downwelling longwave flux at top-of-atmosphere           [J m-2] --&gt;
+                &lt;!--  aclwupb   :accumulated all-sky upwelling longwave flux at bottom-of-atmosphere            [J m-2] --&gt;
+                &lt;!--  aclwupbc  :accumulated clear-sky upwelling longwave flux at bottom-of-atmosphere          [J m-2] --&gt;
+                &lt;!--  aclwupt   :accumulated all-sky upwelling longwave flux at top-of-atmosphere               [J m-2] --&gt;
+                &lt;!--  aclwuptc  :accumulated clear-sky upwelling longwave flux at top-of-atmosphere             [J m-2] --&gt;
+                &lt;!--  lwdnflx   :                                                                                       --&gt;
+                &lt;!--  lwdnflxc  :                                                                                       --&gt;
+                &lt;!--  lwupflx   :                                                                                       --&gt;
+                &lt;!--  lwupflxc  :                                                                                       --&gt;
+                &lt;!--  olrtoa    :outgoing longwave radiation at top-of-the-atmosphere                           [W m-2] --&gt;
+
+                &lt;!--  i_aclwdnb : counter related to how often lwdnb is begin reset relative to its bucket value    (-) --&gt;
+                &lt;!--  i_aclwdnbc: counter related to how often lwdnbc is begin reset relative to its bucket value   (-) --&gt;
+                &lt;!--  i_aclwdnt : counter related to how often lwdnt is begin reset relative to its bucket value    (-) --&gt;
+                &lt;!--  i_aclwdntc: counter related to how often lwdntc is begin reset relative to its bucket value   (-) --&gt;
+                &lt;!--  i_aclwupb : counter related to how often lwupb is begin reset relative to its bucket value    (-) --&gt;
+                &lt;!--  i_aclwupbc: counter related to how often lwupbc is begin reset relative to its bucket value   (-) --&gt;
+                &lt;!--  i_aclwupt : counter related to how often lwupt is begin reset relative to its bucket value    (-) --&gt;
+                &lt;!--  i_aclwuptc: counter related to how often lwuptc is begin reset relative to its bucket value   (-) --&gt;
+
                 &lt;var name=&quot;i_aclwdnb&quot;     type=&quot;integer&quot;  dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;i_aclwdnbc&quot;    type=&quot;integer&quot;  dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;i_aclwdnt&quot;     type=&quot;integer&quot;  dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
@@ -438,6 +693,7 @@
                 &lt;var name=&quot;i_aclwupbc&quot;    type=&quot;integer&quot;  dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;i_aclwupt&quot;     type=&quot;integer&quot;  dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;i_aclwuptc&quot;    type=&quot;integer&quot;  dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
+
                 &lt;var name=&quot;lwcf&quot;          type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;o&quot;/&gt;
                 &lt;var name=&quot;lwdnb&quot;         type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;o&quot;/&gt;
                 &lt;var name=&quot;lwdnbc&quot;        type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;o&quot;/&gt;
@@ -457,10 +713,60 @@
                 &lt;var name=&quot;aclwuptc&quot;      type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;olrtoa&quot;        type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;o&quot;/&gt;
                 &lt;var name=&quot;glw&quot;           type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
+
+                &lt;!-- ... RRTMG LW ONLY: --&gt;
+                &lt;!-- var name=&quot;lwdnflx&quot;       type=&quot;real&quot;     dimensions=&quot;nVertLevelsP2 nCells Time&quot;   streams=&quot;o&quot; --&gt;
+                &lt;!-- var name=&quot;lwdnflxc&quot;      type=&quot;real&quot;     dimensions=&quot;nVertLevelsP2 nCells Time&quot;   streams=&quot;o&quot; --&gt;
+                &lt;!-- var name=&quot;lwupflx&quot;       type=&quot;real&quot;     dimensions=&quot;nVertLevelsP2 nCells Time&quot;   streams=&quot;o&quot; --&gt;
+                &lt;!-- var name=&quot;lwupflxc&quot;      type=&quot;real&quot;     dimensions=&quot;nVertLevelsP2 nCells Time&quot;   streams=&quot;o&quot; --&gt;
+
+
+                &lt;!-- ================================================================================================== --&gt;
+                &lt;!-- ... ADDITIONAL &quot;RADIATION&quot; ARRAYS NEEDED ONLY IN THE &quot;CAM&quot; LW AND SW RADIATION CODES:              --&gt;
+                &lt;!-- ================================================================================================== --&gt;
+
+                &lt;!-- INFRARED ABSORPTION: --&gt;
                 &lt;var name=&quot;absnxt&quot;        type=&quot;real&quot;     dimensions=&quot;nVertLevels cam_dim1 nCells Time&quot;/&gt;
                 &lt;var name=&quot;abstot&quot;        type=&quot;real&quot;     dimensions=&quot;nVertLevelsP1 nVertLevelsP1 nCells Time&quot;/&gt;
                 &lt;var name=&quot;emstot&quot;        type=&quot;real&quot;     dimensions=&quot;nVertLevelsP1 nCells Time&quot;/&gt;
+
+
+                &lt;!-- ================================================================================================== --&gt;
+                &lt;!-- ... PARAMERIZATION OF CLOUDINESS:                                                                  --&gt;
+                &lt;!-- ================================================================================================== --&gt;
                 &lt;var name=&quot;cldfrac&quot;       type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;o&quot;/&gt;
+
+
+                &lt;!-- ================================================================================================== --&gt;
+                &lt;!-- ... PARAMETERIZATION OF LAND-SURFACE SCHEME:                                                       --&gt;
+                &lt;!-- ================================================================================================== --&gt;
+
+                &lt;!-- acsnom         :accumulated melted snow                                                   [kg m-2] --&gt;
+                &lt;!-- acsnow         :accumulated snow                                                          [kg m-2] --&gt;
+                &lt;!-- canwat         :canopy water                                                              [kg m-2] --&gt;
+                &lt;!-- chklowq        :surface saturation flag                                                        [-] --&gt;
+                &lt;!-- grdflx         :ground heat flux                                                           [W m-2] --&gt;
+                &lt;!-- lai            :leaf area index                                                                [-] --&gt;
+                &lt;!-- noahres        :residual of the noah land-surface scheme energy budget                     [W m-2] --&gt;
+                &lt;!-- potevp         :potential evaporation                                                      [W m-2] --&gt;
+                &lt;!-- qz0            :specific humidity at znt                                                 [kg kg-1] --&gt;
+                &lt;!-- rib            :??                                                                                 --&gt;
+                &lt;!-- sfc_albedo     :surface albedo                                                                 [-] --&gt;
+                &lt;!-- sfc_embck      :background emissivity                                                          [-] --&gt;
+                &lt;!-- sfc_emiss      :surface emissivity                                                             [-] --&gt;
+                &lt;!-- sfcrunoff      :surface runoff                                                             [m s-1] --&gt;
+                &lt;!-- smstav         :moisture availability                                                          [-] --&gt;
+                &lt;!-- smstot         :total moisture                                                            [m3 m-3] --&gt;
+                &lt;!-- snopcx         :snow phase change heat flux                                                [W m-2] --&gt;
+                &lt;!-- snotime        :??                                                                                 --&gt;
+                &lt;!-- sstsk          : skin sea-surface temperature                                                  [K] --&gt;
+                &lt;!-- sstsk_diur     : skin sea-surface temperature difference                                       [K] --&gt;
+                &lt;!-- thc            :thermal inertia                                               [Cal cm-1 K-1 s-0.5] --&gt;
+                &lt;!-- udrunoff       :sub-surface runoff                                                         [m s-1] --&gt;
+                &lt;!-- xicem          :ice mask from previous time-step                                               [-] --&gt;
+                &lt;!-- z0             :background roughness length                                                    [m] --&gt;
+                &lt;!-- zs             :depth of centers of soil layers                                                [m] --&gt;
+
                 &lt;var name=&quot;acsnom&quot;        type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;acsnow&quot;        type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;canwat&quot;        type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;ro&quot;/&gt;
@@ -489,26 +795,97 @@
         &lt;/var_struct&gt;
 
         &lt;var_struct name=&quot;tend_physics&quot; time_levs=&quot;1&quot;&gt;

+                &lt;!-- ================================================================================================== --&gt;
+                &lt;!-- TENDENCIES FROM PARAMETERIZATION OF CONVECTION:                                                    --&gt;
+                &lt;!-- ================================================================================================== --&gt;
+                &lt;!-- rthcuten  : tendency of potential temperature due to cumulus convection                   (K s-1)  --&gt;
+                &lt;!-- rqvcuten  : tendency of water vapor mixing ratio due to cumulus convection            (kg/kg s-1)  --&gt;
+                &lt;!-- rqccuten  : tendency of cloud water mixing ratio due to cumulus convection            (kg/kg s-1)  --&gt;
+                &lt;!-- rqicuten  : tendency of cloud ice mixing ratio due to cumulus convection              (kg/kg s-1)  --&gt;
+
                 &lt;var name=&quot;rthcuten&quot;    type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;rqvcuten&quot;    type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;rqccuten&quot;    type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;rqicuten&quot;    type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;ro&quot;/&gt;
+
+                &lt;!-- KAIN_FRITSCH --&gt;
+                &lt;!-- rqrcuten  : tendency of rain mixing ratio due to cumulus convection                   (kg/kg s-1) --&gt;
+                &lt;!-- rqscuten  : tendency of snow mixing ratio due to cumulus convection                   (kg/kg s-1) --&gt;
+
                 &lt;var name=&quot;rqrcuten&quot;    type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;rqscuten&quot;    type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;ro&quot;/&gt;
+
+                &lt;!-- TIEDTKE --&gt;
+                &lt;!-- rucuten   : tendency of zonal wind due to cumulus convection                              (m/s-1) --&gt;
+                &lt;!-- rvcuten   : tendency of meridional wind due to cumulus convection                         (m/s-1) --&gt;
+                &lt;!-- rqvdynten : tendency of water vapor due to horizontal and vertical advections         (kg/kg/s-1) --&gt;
                 &lt;var name=&quot;rqvdynten&quot;   type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;rucuten&quot;     type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;rvcuten&quot;     type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;ro&quot;/&gt;
+
+
+                &lt;!-- ================================================================================================== --&gt;
+                &lt;!-- ... TENDENCIES FROM PARAMETERIZATION OF PLANETARY BOUNDARY LAYER PROCESSES:                        --&gt;
+                &lt;!-- ================================================================================================== --&gt;
+                &lt;!-- rublten   : tendency of zonal wind due to pbl processes                                   (m s-1)  --&gt;
+                &lt;!-- rvblten   : tendency of meridional wind due to pbl processes                              (m s-1)  --&gt;
+                &lt;!-- rthblten  : tendency of potential temperature due to pbl processes                        (K s-1)  --&gt;
+                &lt;!-- rqvblten  : tendency of water vapor mixing ratio due to pbl processes                 (kg/kg s-1)  --&gt;
+                &lt;!-- rqcblten  : tendency of cloud water mixing ratio due to pbl processes                 (kg/kg s-1)  --&gt;
+                &lt;!-- rqiblten  : tendency of cloud ice mixing ratio due to pbl processes                   (kg/kg s-1)  --&gt;
+
                 &lt;var name=&quot;rublten&quot;     type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;rvblten&quot;     type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;rthblten&quot;    type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;rqvblten&quot;    type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;rqcblten&quot;    type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;rqiblten&quot;    type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;ro&quot;/&gt;
+
+
+                &lt;!-- ================================================================================================== --&gt;
+                &lt;!-- ... TENDENCIES FROM PARAMETERIZATION OF LONGWAVE RADIATION:                                        --&gt;
+                &lt;!-- ================================================================================================== --&gt;
+                &lt;!--  rthratensw:uncoupled theta tendency due to shortwave radiation                            [K s-1] --&gt;
+                &lt;!--  rthratenlw:uncoupled theta tendency due to longwave radiation                             [K s-1] --&gt;
+
                 &lt;var name=&quot;rthratensw&quot;  type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;rthratenlw&quot;  type=&quot;real&quot;     dimensions=&quot;nVertLevels nCells Time&quot;     streams=&quot;ro&quot;/&gt;
         &lt;/var_struct&gt;
 
         &lt;var_struct name=&quot;sfc_input&quot; time_levs=&quot;0&quot;&gt;
+
+                &lt;!-- ================================================================================================== --&gt;
+                &lt;!-- ... SURFACE CHARACTERISTICS THAT NEED TO BE READ FROM GRID.NC:                                     --&gt;
+                &lt;!-- ================================================================================================== --&gt;
+
+                &lt;!--  albedo12m      :monthly climatological albedo                                                 [-] --&gt;
+                &lt;!--  greenfrac      :monthly climatological greeness fraction                                      [-] --&gt;
+                &lt;!--  isltyp         :dominant soil category                                                        [-] --&gt;
+                &lt;!--  ivgtyp         :dominant vegetation category                                                  [-] --&gt;
+                &lt;!--  landmask       :=0 for ocean;=1 for land                                                      [-] --&gt;
+                &lt;!--  sfc_albbck     :background albedo                                                             [-] --&gt;
+                &lt;!--  shdmin         :minimum areal fractional coverage of annual green vegetation                  [-] --&gt;
+                &lt;!--  shdmax         :maximum areal fractional coverage of annual green vegetation                  [-] --&gt;
+                &lt;!--  skintemp       :skin temperature                                                              [K] --&gt;
+                &lt;!--  snoalb         :annual max snow albedo                                                        [-] --&gt;
+                &lt;!--  snow           :snow water equivalent                                                    [kg m-2] --&gt;
+                &lt;!--  sst            :sea-surface temperature                                                       [K] --&gt;
+                &lt;!--  snowc          :flag indicating snow coverage (1 for snow cover)                              [-] --&gt;
+                &lt;!--  snowh          :physical snow depth                                                           [m] --&gt;
+                &lt;!--  ter            :terrain height                                                                [-] --&gt;
+                &lt;!--  tmn            :soil temperature at lower boundary                                            [K] --&gt;
+                &lt;!--  vegfra         :vegetation fraction                                                           [-] --&gt;
+                &lt;!--  seaice         :sea-ice mask (=1 when xice is greater than 0; =0 otherwise)                   [-] --&gt;
+                &lt;!--  xice           :fractional sea-ice coverage                                                   [-] --&gt;
+                &lt;!--  xland          :land mask    (1 for land; 2 for water)                                        [-] --&gt;
+
+                &lt;!--  dzs            :thickness of soil layers                                                      [m] --&gt;
+                &lt;!--  smcrel         :soil moisture threshold below which transpiration begins to stress            [-] --&gt;
+                &lt;!--  sh2o           :soil liquid water                                                        [m3 m-3] --&gt;
+                &lt;!--  smois          :soil moisture                                                            [m3 m-3] --&gt;
+                &lt;!--  tslb           :soil temperature                                                              [K] --&gt;
+
                 &lt;var name=&quot;isltyp&quot;      type=&quot;integer&quot;  dimensions=&quot;nCells&quot;                      streams=&quot;iro&quot;/&gt;
                 &lt;var name=&quot;ivgtyp&quot;      type=&quot;integer&quot;  dimensions=&quot;nCells&quot;                      streams=&quot;iro&quot;/&gt;
                 &lt;var name=&quot;landmask&quot;    type=&quot;integer&quot;  dimensions=&quot;nCells&quot;                      streams=&quot;iro&quot;/&gt;
@@ -518,6 +895,7 @@
                 &lt;var name=&quot;ter&quot;         type=&quot;real&quot;     dimensions=&quot;nCells&quot;                      streams=&quot;io&quot;/&gt;
                 &lt;var name=&quot;albedo12m&quot;   type=&quot;real&quot;     dimensions=&quot;nMonths nCells&quot;              streams=&quot;iro&quot;/&gt;
                 &lt;var name=&quot;greenfrac&quot;   type=&quot;real&quot;     dimensions=&quot;nMonths nCells&quot;              streams=&quot;iro&quot;/&gt;
+
                 &lt;var name=&quot;sfc_albbck&quot;  type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;iro&quot;/&gt;
                 &lt;var name=&quot;skintemp&quot;    type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;iro&quot;/&gt;
                 &lt;var name=&quot;snow&quot;        type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;iro&quot;/&gt;
@@ -529,6 +907,7 @@
                 &lt;var name=&quot;seaice&quot;      type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;iro&quot;/&gt;
                 &lt;var name=&quot;xice&quot;        type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;isro&quot;/&gt;
                 &lt;var name=&quot;xland&quot;       type=&quot;real&quot;     dimensions=&quot;nCells Time&quot;                 streams=&quot;iro&quot;/&gt;
+
                 &lt;var name=&quot;dzs&quot;         type=&quot;real&quot;     dimensions=&quot;nSoilLevels nCells Time&quot;     streams=&quot;iro&quot;/&gt;
                 &lt;var name=&quot;smcrel&quot;      type=&quot;real&quot;     dimensions=&quot;nSoilLevels nCells Time&quot;     streams=&quot;ro&quot;/&gt;
                 &lt;var name=&quot;sh2o&quot;        type=&quot;real&quot;     dimensions=&quot;nSoilLevels nCells Time&quot;     streams=&quot;iro&quot;/&gt;

</font>
</pre>