Former-commit-id:7fa9dbd5fb
[formerly4bfbdad17d
] [formerly9f8cb727a5
] [formerly7fa9dbd5fb
[formerly4bfbdad17d
] [formerly9f8cb727a5
] [formerly8485b90ff8
[formerly9f8cb727a5
[formerly bf53d06834caa780226121334ac1bcf0534c3f16]]]] Former-commit-id:8485b90ff8
Former-commit-id:40aa780b3d
[formerly33a67cdd82
] [formerly 73930fb29d0c1e91204e76e6ebfdbe757414f319 [formerlya28d70b5c5
]] Former-commit-id: a16a1b4dd44fc344ee709abbe262aeed58a8339b [formerlye5543a0e86
] Former-commit-id:0c25458510
101 lines
1.8 KiB
C
101 lines
1.8 KiB
C
/************************************************************************
|
|
* nmsdef.h *
|
|
* *
|
|
* This file contains structure definitions used when reading the MISC *
|
|
* data type attribute settings. *
|
|
* *
|
|
** *
|
|
* Log: *
|
|
* S. Jacobs/NCEP 11/99 Created *
|
|
* S. Jacobs/NCEP 1/00 Updated structure definitions *
|
|
* S. Jacobs/NCEP 3/00 Removed line.ityp, arrw.ityp; *
|
|
* Added ionoff *
|
|
* M. Li/SAIC 4/03 Add icolr2 to NMS_types *
|
|
* F. J. Yen/NCEP 6/04 Added arrw.ityp *
|
|
***********************************************************************/
|
|
|
|
#ifndef _NMSDEF
|
|
|
|
#define _NMSDEF
|
|
|
|
typedef struct nmsline
|
|
{
|
|
float size;
|
|
int iwid;
|
|
} NMS_line;
|
|
|
|
typedef struct nmssymb
|
|
{
|
|
float code;
|
|
float size;
|
|
int iwid;
|
|
} NMS_symb;
|
|
|
|
typedef struct nmsarrw
|
|
{
|
|
float size;
|
|
float hdsz;
|
|
int iwid;
|
|
int ityp;
|
|
} NMS_arrw;
|
|
|
|
typedef struct nmstype
|
|
{
|
|
char name[LLMXLN];
|
|
int ionoff;
|
|
int icolr;
|
|
int icolr2;
|
|
float value;
|
|
NMS_line line;
|
|
NMS_symb symb[2];
|
|
NMS_arrw arrw;
|
|
} NMS_types;
|
|
|
|
typedef struct nmsflag
|
|
{
|
|
char name[LLMXLN];
|
|
int iflg;
|
|
} NMS_flags;
|
|
|
|
/*
|
|
* nms prototypes
|
|
*/
|
|
|
|
void nms_ghrn ( int mxstrm,
|
|
char storms[][LLPATH],
|
|
int *num,
|
|
int *iret );
|
|
|
|
void nms_init ( int *iret );
|
|
|
|
void nms_qatt ( int indx,
|
|
char alias[],
|
|
int *isbcat,
|
|
char filnam[],
|
|
int *ntype,
|
|
NMS_types types[],
|
|
int *nflag,
|
|
NMS_flags flags[],
|
|
int *iret );
|
|
|
|
void nms_rtbl ( char alias[],
|
|
int *ntype,
|
|
NMS_types types[],
|
|
int *nflag,
|
|
NMS_flags flags[],
|
|
int *iret );
|
|
|
|
|
|
void nms_satt ( int iindex,
|
|
char alias[],
|
|
int isbcat,
|
|
char filnam[],
|
|
int ntype,
|
|
NMS_types types[],
|
|
int nflag,
|
|
NMS_flags flags[],
|
|
int *jindex,
|
|
int *iret );
|
|
|
|
|
|
#endif
|