Former-commit-id:06a8b51d6d
[formerly9f19e3f712
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]] Former-commit-id:9f19e3f712
Former-commit-id:a02aeb236c
69 lines
2 KiB
C
69 lines
2 KiB
C
/*******************************************************************************
|
|
* FILENAME: mpe_constants.h
|
|
*
|
|
* DESCRIPTION: This file contains constants
|
|
* for the mpe_fieldgen main function.
|
|
*
|
|
* ORIGINAL AUTHOR: Guoxian Zhou
|
|
* CREATION DATE: January 11, 2005
|
|
* ORGANIZATION: HSEB / OHD
|
|
* MACHINE: Dell-Redhat Linux
|
|
* MODIFICATION HISTORY:
|
|
* DATE PROGRAMMER DESCRIPTION/REASON
|
|
*
|
|
********************************************************************************
|
|
*/
|
|
|
|
#ifndef MPE_CONSTANTS_H
|
|
#define MPE_CONSTANTS_H
|
|
|
|
/*--------------------------------*/
|
|
/* definition of constants */
|
|
/*--------------------------------*/
|
|
#define TOKEN_LEN 64
|
|
#define TOKEN_VALUE_LEN 512
|
|
#define FNAME_LEN 128
|
|
#define PATH_LEN 256
|
|
#define FILE_LEN 512
|
|
#define MESSAGE_LEN 512
|
|
#define XMRGDTFORM_LEN 3
|
|
#define YYYYMMDDHH_LEN 10
|
|
#define HHMMSS_LEN 8
|
|
|
|
#define GAGE_NUMBER 2500
|
|
#define GAGE_NUMBER_P3 2500
|
|
|
|
#define RADAR_NUMBER 500
|
|
#define NEIGHBOR_NUMBER 250
|
|
/* The number of available memory spans. */
|
|
#define NUM_MEMORY_SPANS 10
|
|
#define MOSAIC_TYPE_LEN 10
|
|
#define MOSAIC_DEFAULT -9.0
|
|
#define RADAR_DEFAULT -9.0
|
|
#define RANGE_CHECK_DEFAULT -999.0
|
|
|
|
#define MAXGAGS 10
|
|
#define NBMAX 400
|
|
#define NBMAXP1 NBMAX + 1
|
|
#define NDATX 40000
|
|
#define NIND 1000
|
|
#define NX1 2500
|
|
|
|
#define VERBOSE 0
|
|
|
|
/**
|
|
* REPLACE_MISSING = replace missing values with 0.0 flag
|
|
* = 0 -- do not replace missing values (default)
|
|
* = 1 -- replace missing values (values < 0.0) with 0.0
|
|
**/
|
|
#define REPLACE_MISSING 1
|
|
|
|
/* multiplier when changing from float to int array */
|
|
#define FACTOR_PRECIP 100.0
|
|
#define FACTOR_OTHER 1.0
|
|
|
|
#define PROC_FLAG "rfcwide"
|
|
|
|
#define RADIUS 100.0
|
|
|
|
#endif /* #ifndef MPE_CONSTANTS_H */
|