!-------------------------------------- LICENCE BEGIN ------------------------------------
!Environment Canada - Atmospheric Science and Technology License/Disclaimer, 
!                     version 3; Last Modified: May 7, 2008.
!This is free but copyrighted software; you can use/redistribute/modify it under the terms 
!of the Environment Canada - Atmospheric Science and Technology License/Disclaimer 
!version 3 or (at your option) any later version that should be found at: 
!http://collaboration.cmc.ec.gc.ca/science/rpn.comm/license.html 
!
!This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; 
!without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
!See the above mentioned License/Disclaimer for more details.
!You should have received a copy of the License/Disclaimer along with this software; 
!if not, you can write to: EC-RPN COMM Group, 2121 TransCanada, suite 500, Dorval (Quebec), 
!CANADA, H9P 1J3; or send e-mail to service.rpn@ec.gc.ca
!-------------------------------------- LICENCE END --------------------------------------
#if defined (DOC)
*
***comdeck p_zong.cdk
*
*______________________________________________________________________
*                                                                      |
*  VARIABLES ASSOCIATED WITH ZONAL DIAGNOSTICS                         |
*______________________________________________________________________|
*                    |                                                 |
* NAME               | DESCRIPTION                                     |
*--------------------|-------------------------------------------------|
* CNZNSFM            | Maximum number of surface variables             |
* CNZNPFM            | Maximum number of profile variables             |
* P_zong_znsrf_s     | table of names of surface variables requested   |
* P_zong_znprf_s     | table of names of profile variables requested   |
* P_zong_znsrf       | number of surface variables requested           |
* P_zong_znprf       | number of profile variables requested           |
* P_zong_znmod       | extraction mode:                                |
*                    | 1 => save variables                             |
*                    | 2 => save the square of the variables           |
*                    | 3 => save both                                  |
* P_zong_nbin        | number of bins used in averaging                |
* P_zong_znli        | zonal diagnostic interval in timesteps          |
* P_zong_znsus_L     | .true. to     have zonal-diagnostics            |
*                    | .false.to not have zonal-diagnostics            |
* P_zong_znoff_L     | .true. for suspending zonal-diagnostics         |
*                    | .false. for continuing zonal-diagnostics        |
*----------------------------------------------------------------------
*
*
#endif
      integer CNZNSFM, CNZNPFM
      parameter ( CNZNSFM = 40 , CNZNPFM = 40 )
*
      integer P_zong_znli,  P_zong_znsrf, P_zong_znprf,
     $        P_zong_znmod, P_zong_nbin
      character*4 P_zong_znsrf_s(CNZNSFM), P_zong_znprf_s(CNZNPFM)
      logical P_zong_znsus_l,P_zong_znoff_L
*
      MARK_COMMON_BEG (pzong_i)
      common / pzong_i  / P_zong_znli,  P_zong_znsrf, P_zong_znprf, 
     $                    P_zong_znmod, P_zong_nbin
      MARK_COMMON_END (pzong_i)
      MARK_COMMON_BEG (pzong_c)
      common / pzong_c / P_zong_znsrf_s, P_zong_znprf_s
      MARK_COMMON_END (pzong_c)
      MARK_COMMON_BEG (pzong_l)
      common / pzong_l / P_zong_znsus_L,P_zong_znoff_L
      MARK_COMMON_END (pzong_l)
*