-
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.
* #1355 Added makefile for ioda2.nc * #1355 Added ioda2nc * #1355 Added unit_ioda2nc.xml * #1355 Added yyyymmddThhmmss_to_unix and is_yyyymmddThhmmss * #1355 Added yyyymmddThhmmss_to_unix and is_yyyymmddThhmmss * #1355 Added parse_conf_metadata_map and parse_conf_obs_name_map * #1355 Added conf_key_obs_name_map, conf_key_metadata_map, and conf_key_missing_thresh * #1355 Exception handlijng at get_att_value_chars * #1355 Initial release * #1355 Initial release * #1355 Cleanup * #1355 Corretced NC_BYTE value * #1355 Initial release * #1355 Added IODA2NCConfig_efault * #1355 Added IODA2NCConfig_default * #1355 Turn off time_summary * #1355 Changed missing_thresh +-1e9 * #1355 Terminate string * #1355 Corrected echo statement * #1355 Removed unused variable * #1355 Make the string null terminated * #1355 Move the IODA2NCConfig_default to above to avoid merge conflict * #1355 To aoide merge conflict * #1355 To avoid a merge conflict * #1355 To avoid a merge conflict * #1355 To avoid a merge conflict * #1355 To avoid a merge conflict * #1355 To avoid a merge conflict * #1355 To avoid a merge conflict * #1355 To avoid a merge conflict * Per #1355, add .gitignore file for ioda2nc. * Per #1355, had to add test stub for the new ioda2nc tool to enable 'make test' to run. * Per #1355, tweak met/scripts/Makefile to NOT ignore the ENABLE_PYTHON configuration option when constructing the list of tests. * Per #1355, ignore the scripts/ioda2nc file. Co-authored-by: John Halley Gotway <[email protected]>
- Loading branch information
Showing
26 changed files
with
2,436 additions
and
88 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
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,130 @@ | ||
//////////////////////////////////////////////////////////////////////////////// | ||
// | ||
// IODA2NC configuration file. | ||
// | ||
// For additional information, see the MET_BASE/config/README file. | ||
// | ||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// IODA message type | ||
// | ||
message_type = []; | ||
|
||
// | ||
// Mapping of message type group name to comma-separated list of values | ||
// Derive PRMSL only for SURFACE message types | ||
// | ||
message_type_group_map = []; | ||
|
||
// | ||
// Mapping of input IODA message types to output message types | ||
// | ||
message_type_map = []; | ||
|
||
// | ||
// IODA station ID | ||
// | ||
station_id = []; | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// Observation time window | ||
// | ||
obs_window = { | ||
beg = -5400; | ||
end = 5400; | ||
} | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// Observation retention regions | ||
// | ||
mask = { | ||
grid = ""; | ||
poly = ""; | ||
} | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// Observing location elevation | ||
// | ||
elevation_range = { | ||
beg = -1000; | ||
end = 100000; | ||
} | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// Vertical levels to retain | ||
// | ||
level_range = { | ||
beg = 1; | ||
end = 255; | ||
} | ||
|
||
/////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// IODA variable names to retain or derive. | ||
// Use obs_bufr_map to rename variables in the output. | ||
// If empty or 'all', process all available variables. | ||
// | ||
obs_var = []; | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// Mapping of input IODA variable names to output variables names. | ||
// The default IODA map, obs_var_map, is appended to this map. | ||
// | ||
obs_name_map = []; | ||
|
||
// | ||
// Default mapping for Metadata. | ||
// | ||
metadata_map = [ | ||
{ key = "message_type"; val = "msg_type"; }, | ||
{ key = "station_id"; val = "report_identifier"; }, | ||
{ key = "pressure"; val = "air_pressure,pressure"; }, | ||
{ key = "height"; val = "height,height_above_mean_sea_level"; }, | ||
{ key = "elevation"; val = ""; } | ||
]; | ||
|
||
missing_thresh = [ <=-1e9, >=1e9, ==-9999 ]; | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
quality_mark_thresh = 0; | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// Time periods for the summarization | ||
// obs_var (string array) is added and works like grib_code (int array) | ||
// when use_var_id is enabled and variable names are saved. | ||
// | ||
time_summary = { | ||
flag = FALSE; | ||
raw_data = FALSE; | ||
beg = "000000"; | ||
end = "235959"; | ||
step = 300; | ||
width = 600; | ||
grib_code = []; | ||
obs_var = [ "TMP", "WDIR", "RH" ]; | ||
type = [ "min", "max", "range", "mean", "stdev", "median", "p80" ]; | ||
vld_freq = 0; | ||
vld_thresh = 0.0; | ||
} | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
tmp_dir = "/tmp"; | ||
version = "V10.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
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
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 |
---|---|---|
|
@@ -5,6 +5,7 @@ grib2 | |
grid_stat | ||
gis_utils | ||
gsi_tools | ||
ioda2nc | ||
lidar2nc | ||
madis2nc | ||
mode_analysis | ||
|
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
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,26 @@ | ||
|
||
|
||
|
||
######################################################################## | ||
|
||
|
||
IODA2NC_EXEC = ${OTHER_DIR}/ioda2nc/ioda2nc | ||
|
||
|
||
######################################################################## | ||
|
||
|
||
## | ||
## ioda2nc | ||
## | ||
## prerequisites: | ||
## | ||
|
||
|
||
ioda2nc: ${IODA2NC_EXEC} | ||
@ touch ioda2nc | ||
|
||
|
||
######################################################################## | ||
|
||
|
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
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
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
Oops, something went wrong.