Skip to content

Commit

Permalink
EAMxx: fix usage of ekat's Units
Browse files Browse the repository at this point in the history
  • Loading branch information
bartgol committed May 15, 2024
1 parent 51c92b1 commit ebbb490
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ void AtmProcDAG::write_dag (const std::string& fname, const int verbosity) const
s.back() = ')';

if (verbosity>2) {
s += " [" + fid.get_units().get_string() + "]";
s += " [" + fid.get_units().to_string() + "]";
}
}
return s;
Expand Down
2 changes: 1 addition & 1 deletion components/eamxx/src/share/io/scorpio_output.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ register_variables(const std::string& filename,
// in the simulation and not the one used in the output file.
const auto& layout = fid.get_layout();
auto vec_of_dims = set_vec_of_dims(layout);
std::string units = fid.get_units().get_string();
std::string units = fid.get_units().to_string();

// Gather longname
auto longname = m_longnames.get_longname(name);
Expand Down

0 comments on commit ebbb490

Please sign in to comment.