Skip to content

Commit

Permalink
changed default for converting winds to TRUE, and put parameters for …
Browse files Browse the repository at this point in the history
…wind conversion into the unit test config files
  • Loading branch information
Dave Albo committed May 13, 2022
1 parent 78b3fac commit b03e87e
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 2 deletions.
2 changes: 1 addition & 1 deletion met/data/config/TCRMWConfig_default
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ rmw_scale = 0.2;
//
// Optionally convert u/v winds to tangential/radial winds
//
compute_tangential_and_radial_winds = FALSE;
compute_tangential_and_radial_winds = TRUE;
u_wind_field_name = "UGRD";
v_wind_field_name = "VGRD";
tangential_velocity_field_name = "VT";
Expand Down
2 changes: 1 addition & 1 deletion met/docs/Users_Guide/tc-rmw.rst
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ _______________________

.. code-block:: none
compute_tangential_and_radial_winds = FALSE;
compute_tangential_and_radial_winds = TRUE;
The **compute_tangential_and_radial_winds** parameter is a flag controlling whether a conversion from U/V to Tangential/Radial winds is done or not. If set to TRUE, additional parameters are used, otherwise they are not.

Expand Down
12 changes: 12 additions & 0 deletions test/config/TCRMWConfig_gonzalo
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,18 @@ max_range_km = 1000.0;
delta_range_km = 10.0;
rmw_scale = 0.2;

//
// Optionally convert u/v winds to tangential/radial winds
//
compute_tangential_and_radial_winds = TRUE;
u_wind_field_name = "UGRD";
v_wind_field_name = "VGRD";
tangential_velocity_field_name = "VT";
tangential_velocity_long_field_name = "Tangential Velocity";
radial_velocity_field_name = "VR";
radial_velocity_long_field_name = "Radial Velocity";


////////////////////////////////////////////////////////////////////////////////

version = "V10.1.0";
Expand Down
11 changes: 11 additions & 0 deletions test/config/TCRMWConfig_pressure_lev_out
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,17 @@ max_range_km = 1000.0;
delta_range_km = 10.0;
rmw_scale = 0.2;

//
// Optionally convert u/v winds to tangential/radial winds
//
compute_tangential_and_radial_winds = TRUE;
u_wind_field_name = "UGRD";
v_wind_field_name = "VGRD";
tangential_velocity_field_name = "VT";
tangential_velocity_long_field_name = "Tangential Velocity";
radial_velocity_field_name = "VR";
radial_velocity_long_field_name = "Radial Velocity";

////////////////////////////////////////////////////////////////////////////////

version = "V10.1.0";
Expand Down

0 comments on commit b03e87e

Please sign in to comment.