Skip to content

Commit

Permalink
Per #2729, fix log message describing the range/azimuth grid.
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnHalleyGotway committed Mar 7, 2024
1 parent d6eaf24 commit a2a295d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/libcode/vx_grid/tcrmw_grid.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/tools/tc_utils/tc_diag/tc_diag.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a2a295d

Please sign in to comment.