Skip to content

Commit

Permalink
Unrelated to #2924, superficial changes to formatting of method_name …
Browse files Browse the repository at this point in the history
…strings for consistency.
  • Loading branch information
MET Tools Test Account committed Sep 19, 2024
1 parent cc9c78d commit 394fb8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/basic/vx_cal/is_leap_year.cc
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ void adjuste_day_for_month_year_units(int &day, int &month, int &year, double mo
// Compute remaining days from the month fraction
bool day_adjusted = false;
const int day_offset = (int)(month_fraction * DAYS_PER_MONTH + 0.5);
const char *method_name = "adjuste_day() --> ";
const char *method_name = "adjuste_day_for_month_year_units() -> ";

day += day_offset;
if (day == 1 && abs(month_fraction-0.5) < DAY_EPSILON) {
Expand Down Expand Up @@ -162,7 +162,7 @@ unixtime add_to_unixtime(unixtime base_unixtime, int sec_per_unit,
unixtime ut;
auto time_value_ut = (unixtime)time_value;
double time_fraction = time_value - (double)time_value_ut;
const char *method_name = "add_to_unixtime() -->";
const char *method_name = "add_to_unixtime() -> ";

if (sec_per_unit == SEC_MONTH || sec_per_unit == SEC_YEAR) {
if (time_value < 0) {
Expand Down
2 changes: 1 addition & 1 deletion src/libcode/vx_data2d_nc_cf/nc_cf_file.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2299,7 +2299,7 @@ void NcCfFile::get_grid_mapping_polar_stereographic(const NcVar *grid_mapping_va
{
double x_coord_to_m_cf = 1.0;
double y_coord_to_m_cf = 1.0;
static const string method_name = "NcCfFile::get_grid_mapping_polar_stereographic() --> ";
static const string method_name = "NcCfFile::get_grid_mapping_polar_stereographic() -> ";

// Get projection attributes
// proj_origin_lat: either 90.0 or -90.0, to decide the northern/southern hemisphere
Expand Down

0 comments on commit 394fb8d

Please sign in to comment.