awips2/ncep/gov.noaa.nws.ncep.ui.nsharp/BigNsharp/dggrid.h
root 133dc97f67 Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: 06a8b51d6d [formerly 9f19e3f712 [formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]
Former-commit-id: 9f19e3f712
Former-commit-id: a02aeb236c
2012-01-06 08:55:05 -06:00

88 lines
1.4 KiB
C

/************************************************************************
* dggrid.h *
* *
* This header file is used in the grid diagnostics package. *
* *
** *
* Log: *
* D.W.Plummer/NCEP 03/05 From DGCMN.CMN *
* R. Tian/SAIC 01/06 Modified *
************************************************************************/
#ifndef _DGGRID_H
#define _DGGRID_H
#include "gemprm.h"
/*
* This structure contains the internal grids of the DG package.
*/
#define NDGRD 80
typedef struct { float *grid; int size; } grid_t;
struct dggrid {
/*
* internal grids.
*/
grid_t dgg[NDGRD];
/*
* last grid used.
*/
int idglst;
/*
* date/times of grids.
*/
char dttimd1[NDGRD][21];
char dttimd2[NDGRD][21];
/*
* levels of grids.
*/
int leveld1[NDGRD];
int leveld2[NDGRD];
/*
* vertical coordinates.
*/
int ivcrdd[NDGRD];
/*
* name of grids.
*/
char gparmd[NDGRD][14];
/*
* file #.
*/
int ifiled[NDGRD];
/*
* flag for grid in use.
*/
int iusesv[NDGRD];
/*
* flag for grid rename.
*/
int savflg[NDGRD];
/*
* Ensemble member numbe associated with this grid.
*/
int iensmb[NDGRD];
/*
* max # of internal grids.
*/
int maxdgg;
/*
* subroutine ID number.
*/
int isubid;
};
#endif