Skip to content

Commit

Permalink
Return gmst instead of tas; update model version (#705)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdorheim committed May 25, 2023
1 parent 84fa671 commit 8087ca7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: hector
Title: The Hector Simple Climate Model
Version: 3.1.0
Version: 3.1.1
Authors@R: c(person("Kalyn", "Dorheim",
email = "[email protected]",
role = c("aut", "cre"),
Expand Down
2 changes: 1 addition & 1 deletion inst/include/h_util.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* \brief The model version number to be included in logs and outputs.
* \note Manually update the git tag to match this.
*/
#define MODEL_VERSION "3.1.0"
#define MODEL_VERSION "3.1.1"

#define OUTPUT_DIRECTORY "output/"

Expand Down
2 changes: 1 addition & 1 deletion src/temperature_component.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ unitval TemperatureComponent::getData(const std::string &varName,
}
} else if (varName == D_GMST) {
if (date == Core::undefinedIndex()) {
returnval = tas;
returnval = gmst_val;
} else {
returnval = unitval(temp_surface[tstep], U_DEGC);
}
Expand Down

0 comments on commit 8087ca7

Please sign in to comment.