-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Per #2204, add a new unit test to exercise the new sum option.
- Loading branch information
1 parent
497307d
commit a59b30d
Showing
2 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
//////////////////////////////////////////////////////////////////////////////// | ||
// | ||
// ASCII2NC configuration file. | ||
// | ||
// For additional information, please see the MET User's Guide. | ||
// | ||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// The parameters listed below are used to summarize the ASCII data read in | ||
// | ||
|
||
// | ||
// Time periods for the summarization | ||
// obs_var (string array) is added and works like grib_code (int array) | ||
// when the obs name is given instead of grib_code | ||
// | ||
|
||
time_summary = { | ||
flag = TRUE; | ||
raw_data = FALSE; | ||
beg = "00"; | ||
end = "23"; | ||
step = 3600; | ||
width = { beg = -3599; end = 1; } | ||
grib_code = [ ]; | ||
obs_var = [ "rain" ]; | ||
type = [ "sum" ]; | ||
vld_freq = 15*60; | ||
vld_thresh = 1.0; | ||
} | ||
|
||
// | ||
// Mapping of input little_r report types to output message types | ||
// | ||
message_type_map = [ | ||
{ key = "FM-12 SYNOP"; val = "ADPSFC"; }, | ||
{ key = "FM-13 SHIP"; val = "SFCSHP"; }, | ||
{ key = "FM-15 METAR"; val = "ADPSFC"; }, | ||
{ key = "FM-18 BUOY"; val = "SFCSHP"; }, | ||
{ key = "FM-281 QSCAT"; val = "ASCATW"; }, | ||
{ key = "FM-32 PILOT"; val = "ADPUPA"; }, | ||
{ key = "FM-35 TEMP"; val = "ADPUPA"; }, | ||
{ key = "FM-88 SATOB"; val = "SATWND"; }, | ||
{ key = "FM-97 ACARS"; val = "AIRCFT"; } | ||
]; | ||
|
||
// | ||
// Indicate a version number for the contents of this configuration file. | ||
// The value should generally not be modified. | ||
// | ||
version = "V11.0.0"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters