From a2a295dc73a67d9d3edeefe9de5dab42bdf1cf10 Mon Sep 17 00:00:00 2001 From: John Halley Gotway Date: Thu, 7 Mar 2024 20:33:08 +0000 Subject: [PATCH] Per #2729, fix log message describing the range/azimuth grid. --- src/libcode/vx_grid/tcrmw_grid.cc | 3 +-- src/tools/tc_utils/tc_diag/tc_diag.cc | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/libcode/vx_grid/tcrmw_grid.cc b/src/libcode/vx_grid/tcrmw_grid.cc index 031c71c65e..e4fa013f4f 100644 --- a/src/libcode/vx_grid/tcrmw_grid.cc +++ b/src/libcode/vx_grid/tcrmw_grid.cc @@ -213,8 +213,7 @@ RLLD.rot_lat_ll = 90.0 - range_max_deg; RLLD.rot_lon_ll = 0.0; RLLD.delta_rot_lat = range_max_deg/(Range_n - 1); -// RLLD.delta_rot_lon = 360.0/Azimuth_n; -RLLD.delta_rot_lon = 360.0/(Azimuth_n - 1); +RLLD.delta_rot_lon = 360.0/Azimuth_n; RLLD.Nlat = Range_n; RLLD.Nlon = Azimuth_n; diff --git a/src/tools/tc_utils/tc_diag/tc_diag.cc b/src/tools/tc_utils/tc_diag/tc_diag.cc index 332587b9eb..f007624c46 100644 --- a/src/tools/tc_utils/tc_diag/tc_diag.cc +++ b/src/tools/tc_utils/tc_diag/tc_diag.cc @@ -2211,8 +2211,8 @@ void TmpFileInfo::setup_nc_file(const DomainInfo &di, << "Defining cylindrical coordinates for (Lat, Lon) = (" << pnt_ptr->lat() << ", " << pnt_ptr->lon() << "), Range = " << ra_grid.range_n() << " every " << ra_grid.range_delta_km() - << ra_grid.range_n() << " every " << ra_grid.range_delta_km() - << "km, Azimuth = " << ra_grid.azimuth_n() << "\n"; + << " km, Azimuth = " << ra_grid.azimuth_n() << " every " + << ra_grid.azimuth_delta_deg() << " degrees.\n"; // Write track info write_tc_storm(tmp_out,