Former-commit-id:a02aeb236c
[formerly9f19e3f712
] [formerlya02aeb236c
[formerly9f19e3f712
] [formerly06a8b51d6d
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]] Former-commit-id:06a8b51d6d
Former-commit-id:8e80217e59
[formerly3360eb6c5f
] Former-commit-id:377dcd10b9
124 lines
1.8 KiB
C
124 lines
1.8 KiB
C
/************************************************************************
|
|
* dgfile.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 _DGFILE_H
|
|
#define _DGFILE_H
|
|
|
|
#include "gemprm.h"
|
|
|
|
/*
|
|
* This structure contains information from the current grid file.
|
|
*/
|
|
struct dgfile {
|
|
/*
|
|
* flag indicating file set.
|
|
*/
|
|
int dgset;
|
|
|
|
/*
|
|
* grid file number.
|
|
*/
|
|
int idlun;
|
|
|
|
/*
|
|
* other grid file numbers.
|
|
*/
|
|
int idflnm[MMFILE];
|
|
|
|
/*
|
|
* grid file names.
|
|
*/
|
|
char gdcur[MMFILE][73];
|
|
|
|
/*
|
|
* template flag.
|
|
*/
|
|
int tmpflg[MMFILE];
|
|
|
|
/*
|
|
* template name.
|
|
*/
|
|
char templt[MMFILE][MXFLSZ+1];
|
|
|
|
/*
|
|
* template date/time.
|
|
*/
|
|
char tdattm[MMFILE][21];
|
|
|
|
/*
|
|
* raw navigation data.
|
|
*/
|
|
float snav[LLNNAV];
|
|
|
|
/*
|
|
* # x grid points.
|
|
*/
|
|
int kxd;
|
|
|
|
/*
|
|
* # y grid points.
|
|
*/
|
|
int kyd;
|
|
|
|
/*
|
|
* total # of grid points.
|
|
*/
|
|
int kxyd;
|
|
|
|
/*
|
|
* latitude internal grd #.
|
|
*/
|
|
int idglat;
|
|
|
|
/*
|
|
* longitude internal grd #.
|
|
*/
|
|
int idglon;
|
|
|
|
/*
|
|
* projection type.
|
|
*/
|
|
char cprj[5];
|
|
|
|
/*
|
|
* grid header.
|
|
*/
|
|
int ighdr[LLGDHD];
|
|
|
|
/*
|
|
* projection angles (rad.).
|
|
*/
|
|
float anglr1;
|
|
float anglr2;
|
|
float anglr3;
|
|
|
|
/*
|
|
* constant of cone.
|
|
*/
|
|
float concon;
|
|
|
|
/*
|
|
* first time in file.
|
|
*/
|
|
char tfirst[MMFILE][21];
|
|
|
|
/*
|
|
* last time in file.
|
|
*/
|
|
char tlast[MMFILE][21];
|
|
|
|
/*
|
|
* flag to add col of data.
|
|
*/
|
|
int addcol;
|
|
};
|
|
|
|
#endif
|