awips2/nativeLib/rary.ohd.whfs/inc/general/precip_total.h
root 06a8b51d6d Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: 64fa9254b946eae7e61bbc3f513b7c3696c4f54f
2012-01-06 08:55:05 -06:00

31 lines
604 B
C

#ifndef PRECIP_TOTAL_H
#define PRECIP_TOTAL_H
#include <time.h>
#include "DbmsDefs.h"
/* for a given duration, a value is missing if no data are found;
it is rejected if less than some threshold percent of data
is found; it is ignored if the existing data covered more of
the duration that the duration covered by the data just analyzed. */
#define MISSING_PRECIP -9999.
#define LARGE_DIFF 10.0
#define OK_CHAR ' '
#define MISSING_CHAR 'm'
#define REJECTED_CHAR 'r'
/* error conditions */
typedef struct
{
int negval;
int negdiff;
int largediff;
} data_err_struct;
#endif