!-------------------------------------- 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 grid.cdk
*
*revision
* v2_30 - V. Lee - moved definition of MAXGRID1 to dimout.cdk
* v2_30 - Added Grid_phi_ig2
* v3_30 - R. McTaggart-Cowan - Added user defined tag extension
*______________________________________________________________________
* |
* VARIABLES FOR DEFINITION OF THE OUTPUT GRIDS (set_grid) |
*______________________________________________________________________|
* | |
* NAME | DESCRIPTION |
*--------------------|-------------------------------------------------|
* MAXGRID1 | maximum number of grids that can be defined |
* Grid_sets | total number of sets of defined output grids |
* The following variables carry values for each defined output grid |
* Grid_id | Grid_id(i) are the id of each defined grid |
* Grid_niout | X grid dimension |
* Grid_njout | Y grid dimension |
* Grid_typ_s | grid type for the data records |
* Grid_gxtyp_s | grid type for the positional record |
* Grid_ig1 | ig1 descriptor (or ip1 of positional record) |
* Grid_ig2 | ig2 descriptor (or ip2 of positional record) |
* Grid_ig3 | ig3 descriptor (or ip3 of positional record) |
* Grid_ig4 | ig4 descriptor |
* Grid_phi_ig2 | ig2 descriptor for the PHI output grid |
* Grid_ixg | ig1,ig2,ig3,ig4 descriptors:positional records |
* Grid_x0 | x origin of output grid |
* Grid_y0 | y origin of output grid |
* Grid_x1 | x at outermost corner of output grid |
* Grid_y1 | y at outermost corner of output grid |
* Grid_stride | every ith point to be outputted |
* Grid_etikext_s | tag extension for specific grid |
*----------------------------------------------------------------------
*
*
#endif
integer MAXGRID1
parameter(MAXGRID1=4)
integer Grid_x0(MAXGRID1),Grid_x1(MAXGRID1)
integer Grid_y0(MAXGRID1),Grid_y1(MAXGRID1)
integer Grid_id(MAXGRID1), Grid_stride(MAXGRID1)
integer Grid_ig1(MAXGRID1), Grid_ig2(MAXGRID1)
integer Grid_ig3(MAXGRID1), Grid_ig4(MAXGRID1)
character*4 Grid_gxtyp_s
character*12 Grid_etikext_s(MAXGRID1)
integer Grid_ip2,
$ Grid_xmin,Grid_xmax,Grid_ymin,Grid_ymax,Grid_reduc,
$ Grid_ixg(4), Grid_sets,Grid_niout,Grid_njout
real Grid_long(*), Grid_latg(*)
pointer (Grid_long_, Grid_long), (Grid_latg_,Grid_latg)
MARK_COMMON_BEG (Grid_i)
COMMON /Grid_i/
$ Grid_ig1,Grid_ig2,Grid_ig3,Grid_ig4,Grid_ip2,
$ Grid_xmin,Grid_xmax,Grid_ymin,Grid_ymax,Grid_reduc,
$ Grid_ixg,Grid_sets,Grid_niout,Grid_njout,
$ Grid_x0,Grid_x1,Grid_y0,Grid_y1,
$ Grid_id,Grid_stride
MARK_COMMON_END (Grid_i)
MARK_COMMON_BEG (Grid_c)
COMMON /Grid_c/ Grid_gxtyp_s,Grid_etikext_s
MARK_COMMON_END (Grid_c)
MARK_COMMON_BEG (Grid_p)
COMMON /Grid_p/ Grid_long_,Grid_latg_
MARK_COMMON_END (Grid_p)