Skip to content

Commit

Permalink
per #2168, added TCDiag wrapper and started implementing unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
georgemccabe committed May 26, 2023
1 parent 9109779 commit 9ac445f
Show file tree
Hide file tree
Showing 9 changed files with 1,587 additions and 2 deletions.
264 changes: 263 additions & 1 deletion docs/Users_Guide/glossary.rst
Original file line number Diff line number Diff line change
Expand Up @@ -394,13 +394,18 @@ METplus Configuration Glossary

| *Used by:* RegridDataPlane
LOG_TC_DIAG_VERBOSITY
Overrides the log verbosity for TCDiag only. If not set, the verbosity level is controlled by :term:`LOG_MET_VERBOSITY`.

| *Used by:* TCDiag
LOG_TC_PAIRS_VERBOSITY
Overrides the log verbosity for TCPairs only. If not set, the verbosity level is controlled by :term:`LOG_MET_VERBOSITY`.

| *Used by:* TCPairs
LOG_TC_RMW_VERBOSITY
Overrides the log verbosity for TCRMW only. If not set, the verbosity level is controlled by :term:`LOG_MET_VERBOSITY`.
Overrides the log verbosity for TCRMW only. If not set, the verbosity level is controlled by :term:`LOG_MET_VERBOSITY`.

| *Used by:* TCRMW
Expand Down Expand Up @@ -499,6 +504,12 @@ METplus Configuration Glossary

| *Used by:* TCRMW
TC_DIAG_CONFIG_FILE
Path to configuration file read by tc_diag.
If unset, parm/met_config/TCDiagConfig_wrapped will be used.

| *Used by:* TCDiag
ASCII2NC_INPUT_FORMAT
Optional string to specify the format of the input data. Valid options are "met_point", "little_r", "surfrad", "wwsis", "aeronet", "aeronetv2", or "aeronetv3."

Expand Down Expand Up @@ -10388,3 +10399,254 @@ METplus Configuration Glossary
Specify the value for 'regrid.censor_val' in the MET configuration file for TCRMW.

| *Used by:* TCRMW
TC_DIAG_INPUT_DIR
Directory containing input data to TCDiag. This variable is optional because you can specify the full path to the input files using :term:`TC_DIAG_INPUT_TEMPLATE`.

| *Used by:* TCDiag
TC_DIAG_INPUT_TEMPLATE
Filename template of the input data used by TCDiag. See also :term:`TC_DIAG_INPUT_DIR`.

| *Used by:* TCDiag
TC_DIAG_DECK_INPUT_DIR
Directory containing ADECK input data to TCDiag. This variable is optional because you can specify the full path to the input files using :term:`TC_DIAG_DECK_TEMPLATE`.

| *Used by:* TCDiag
TC_DIAG_DECK_TEMPLATE
Filename template of the ADECK input data used by TCDiag. See also :term:`TC_DIAG_DECK_INPUT_DIR`.

| *Used by:* TCDiag
TC_DIAG_OUTPUT_DIR
Directory to write output data from TCDiag. This variable is optional because you can specify the full path to the output file using :term:`TC_DIAG_OUTPUT_TEMPLATE`.

| *Used by:* TCDiag
TC_DIAG_OUTPUT_TEMPLATE
Filename template of write the output data generated by TCDiag. See also :term:`TC_DIAG_OUTPUT_DIR`.

| *Used by:* TCDiag
TC_DIAG_INPUT_FILE_LIST
Specifies an explicit path to a file list file to pass into tc_diag.
If set, :term:`TC_DIAG_INPUT_TEMPLATE` and :term:`TC_DIAG_INPUT_DIR`
are ignored.

| *Used by:* TCDiag
TC_DIAG_MET_CONFIG_OVERRIDES
Override any variables in the MET configuration file that are not
supported by the wrapper. This should be set to the full variable name
and value that you want to override, including the equal sign and the
ending semi-colon. The value is directly appended to the end of the
wrapped MET config file.

Example:
TC_DIAG_MET_CONFIG_OVERRIDES = desc = "override_desc"; model = "override_model";

See :ref:`Overriding Unsupported MET config file settings<met-config-overrides>` for more information

| *Used by:* TCDiag
TC_DIAG_SKIP_IF_OUTPUT_EXISTS
If True, do not run app if output file already exists. Set to False to overwrite files.

| *Used by:* TCDiag
TC_DIAG_MODEL
Specify the value for 'model' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_STORM_ID
Specify the value for 'storm_id' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_BASIN
Specify the value for 'basin' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_CYCLONE
Specify the value for 'cyclone' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_INIT_INCLUDE_LIST
Specify the value for 'init_inc' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_VALID_BEG
Specify the value for 'valid_beg' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_VALID_END
Specify the value for 'valid_end' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_VALID_INCLUDE_LIST
Specify the value for 'valid_inc' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_VALID_EXCLUDE_LIST
Specify the value for 'valid_exc' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_VALID_HOUR_LIST
Specify the value for 'valid_hour' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_DIAG_SCRIPT
Specify the value for 'diag_script' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_DOMAIN_INFO<n>_DOMAIN
Specify the value for the nth 'domain_info.domain' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_DOMAIN_INFO<n>_N_RANGE
Specify the value for the nth 'domain_info.n_range' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_DOMAIN_INFO<n>_N_AZIMUTH
Specify the value for the nth 'domain_info.n_azimuth' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_DOMAIN_INFO<n>_DELTA_RANGE_KM
Specify the value for the nth 'domain_info.delta_range_km' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_CENSOR_THRESH
Specify the value for 'censor_thresh' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_CENSOR_VAL
Specify the value for 'censor_val' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_CONVERT
Specify the value for 'convert' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_DATA_DOMAIN
Specify the value for 'data.domain' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_DATA_LEVEL
Specify the value for 'data.level' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_REGRID_METHOD
Specify the value for 'regrid.method' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_REGRID_WIDTH
Specify the value for 'regrid.width' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_REGRID_VLD_THRESH
Specify the value for 'regrid.vld_thresh' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_REGRID_SHAPE
Specify the value for 'regrid.shape' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_REGRID_CENSOR_THRESH
Specify the value for 'regrid.censor_thresh' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_REGRID_CENSOR_VAL
Specify the value for 'regrid.censor_val' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_REGRID_CONVERT
Specify the value for 'regrid.convert' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_COMPUTE_TANGENTIAL_AND_RADIAL_WINDS
Specify the value for 'compute_tangential_and_radial_winds' in the MET configuration file for TCDiag .

| *Used by:* TCDiag
TC_DIAG_U_WIND_FIELD_NAME
Specify the value for 'u_wind_field_name' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_V_WIND_FIELD_NAME
Specify the value for 'v_wind_field_name' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_TANGENTIAL_VELOCITY_FIELD_NAME
Specify the value for 'tangential_velocity_field_name' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_TANGENTIAL_VELOCITY_LONG_FIELD_NAME
Specify the value for 'tangential_velocity_long_field_name' in the MET configuration file for TCDiag .

| *Used by:* TCDiag
TC_DIAG_RADIAL_VELOCITY_FIELD_NAME
Specify the value for 'radial_velocity_field_name' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_RADIAL_VELOCITY_LONG_FIELD_NAME
Specify the value for 'radial_velocity_long_field_name' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_VORTEX_REMOVAL
Specify the value for 'vortex_removal' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_NC_RNG_AZI_FLAG
Specify the value for 'nc_rng_azi_flag' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_NC_DIAG_FLAG
Specify the value for 'nc_diag_flag' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_CIRA_DIAG_FLAG
Specify the value for 'cira_diag_flag' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
TC_DIAG_OUTPUT_PREFIX
Specify the value for 'output_prefix' in the MET configuration file for TCDiag.

| *Used by:* TCDiag
Loading

0 comments on commit 9ac445f

Please sign in to comment.