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

154 lines
4.1 KiB
C

/*******************************************************************************
* FILENAME: mpe_params.h
*
* DESCRIPTION: This file contains static parameters for the
* mpe_fieldgen.
*
* ORIGINAL AUTHOR: Guoxian Zhou
* CREATION DATE: January 7, 2005
* ORGANIZATION: HSEB / OHD
* MACHINE: HP-UX / Dell-Redhat Linux
* MODIFICATION HISTORY:
* DATE PROGRAMMER DESCRIPTION/REASON
* May 2011 S Naples Added process_PC token
********************************************************************************
*/
#ifndef MPE_PARAMS_H
#define MPE_PARAMS_H
#include "mpe_db_tables.h"
#include "mpe_constants.h"
#include "mpe_field_names.h"
/*--------------------------------*/
/* definition of variables */
/*--------------------------------*/
typedef struct _mpe_params_struct
{
char rfc_name[RFC_NAME_LEN + 1];
char db_name[DB_DESCR_LEN + 1];
/** os = operating system (HP or LX) for header of xmrg.
* = "HP" OR "LX".
**/
char os[3];
/** user = user name.
* = OS + "SAN".
**/
char user[6];
/** xmrgdtform = format of time stamp in xmrg filename.
* = mdY (= mmddyyyyhh) OR Ymd (= yyyymmddhh).
* default = mdY
**/
char xmrgdtform[XMRGDTFORM_LEN+1];
/** number of minutes around top of hour in which to search
* for a top-of-hour product.
* determined by token "dpa_wind".
* default = 10 minutes.
**/
int dpa_wind;
/** check if need delete zeros in gage data
* determined by token "mpe_del_gage_zeros".
**/
int del_gage_zeros;
/** check if need to process PC data
* determined by token "mpe_process_PC".
**/
int process_PC;
/**
* Parameters from tables RWParams and RWBiasStat.
**/
RWParams * ptrRWParams;
RWBiasStat * ptrRWBiasStat;
float memory_spans [ NUM_MEMORY_SPANS ];
/** gage_qc = integer value of Gauge QC token.
* = 0 -- do not run Gauge QC
* = 1 -- run Gauge QC
* determined by token "mpe_gage_qc".
* default = 0.
**/
int gage_qc;
char qpe_fieldtype[MOSAIC_TYPE_LEN];
enum DisplayFieldData mosaic_type;
/** blnMeanFieldBias = the mean field bias flag.
* = 0 -- don't compute mean field bias
* = 1 -- compute mean field bias
**/
int blnMeanFieldBias;
/** locbias_1hr_rerun = the local bias rerun.
* = 0 -- do not recalc local bias on rerun
* = 1 -- recalc local bias on rerun
* determined by token "mpe_locbias_1hr_rerun".
* default = 0.
**/
int locbias_1hr_rerun ;
int irc_load_stat ;
/* sat_avail = satellite availability flag
0 = satellite unavailable, 1 = available
*/
int sat_avail;
int radar_avail_num ;
int build_neighbor_list ;
/** mpe_save_netcdf = integer value of mpe_save_netcdf token.
* if token is found as "ON",
* then create and save netCDF image.
* = 0 -- do not save
* = 1 -- create and save netCDF image.
* determined by token "mpe_save_netcdf".
* default = 0.
**/
int mpe_save_netcdf;
/** mpe_save_gif = integer value of mpe_save_netcdf token.
* if token is found as "ON",
* then create and save GIF image.
* = 0 -- do not save
* = 1 -- create and save netCDF image.
* determined by token "mpe_save_gif".
* default = 0.
**/
int mpe_save_gif;
/** mpe_save_jpeg = integer value of mpe_save_netcdf token.
* if token is found as "ON",
* then create and save JPEG image.
* = 0 -- do not save
* = 1 -- create and save netCDF image.
* determined by token "mpe_save_jpeg".
* default = 0.
**/
int mpe_save_jpeg;
/** mpe_save_grib = integer value of mpe_save_netcdf token.
* if token is found as "ON",
* then create and save GRIB image.
* = 0 -- do not save
* = 1 -- create and save netCDF image.
* determined by token "mpe_save_grib".
* default = 0.
**/
int mpe_save_grib;
char fxa_local_site [ RFC_LEN + 1 ];
} mpe_params_struct;
#endif /* #ifndef MPE_PARAMS_H */