awips2/nativeLib/rary.ohd.ifp/inc/Mods_initStruct.h
root e2ecdcfe33 Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: a02aeb236c [formerly 9f19e3f712] [formerly a02aeb236c [formerly 9f19e3f712] [formerly 06a8b51d6d [formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]]
Former-commit-id: 06a8b51d6d
Former-commit-id: 8e80217e59 [formerly 3360eb6c5f]
Former-commit-id: 377dcd10b9
2012-01-06 08:55:05 -06:00

56 lines
1.7 KiB
C

/****************************************************************/
/* */
/* FILE: Mods_initStruct.h */
/* */
/* Include file for configuring the Mods interface */
/* */
/* */
/* Coded by: Tom Adams (TEA) */
/* NWS * Office of Hydrology * HRL */
/* Date: 10/19/94 */
/* Modified: 10/20/94 - (TEA) */
/* 10/31/94 - (TEA) - added Units to */
/* modLimitsDef struct */
/* 21 Oct. 95 - D. Page - */
/* added TIME_PERIODS define */
/****************************************************************/
#ifndef Mods_initStruct_h
#define Mods_initStruct_h
#define DIMENSIONLESS 0
#define LENGTH_UNITS 1
#define FLOW_UNITS 2
#define API_UNITS 3
#define SAC_UNITS 4
#define TIME_PERIODS 5
typedef struct
{
char name[20]; /* Mod name */
float lower_warning_limit; /* Warning - lower limit */
float upper_warning_limit; /* Warning - upper limit */
float lower_error_limit; /* Error - lower limit */
float upper_error_limit; /* Error - upper limit */
int lower_warning_inclusive; /* Limit inclusive - TRUE/FALSE */
int upper_warning_inclusive; /* Limit inclusive - TRUE/FALSE */
int lower_error_inclusive; /* Limit inclusive - TRUE/FALSE */
int upper_error_inclusive; /* Limit inclusive - TRUE/FALSE */
int units; /* --- SEE ABOVE --- */
} modLimitsDef;
typedef struct
{
int num; /* Number of array elements; should */
/* equal the number of Mod types... */
modLimitsDef **array; /* Array of pointers to structures */
} Mod_limitsStruct;
/* gfs 950219 */
#include "mod_data.h"
/* gfs 950219 */
#endif