Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update hymod to include an ET function that uses pdm03 from Fred. #39

Merged
merged 16 commits into from
Apr 3, 2020

Conversation

donaldwj
Copy link
Contributor

[Short description explaining the high-level reason for the pull request]

Additions

Removals

Changes

Testing

Screenshots

Notes

Todos

Checklist

  • PR has an informative and human-readable title
  • Changes are limited to a single goal (no scope creep)
  • Code can be automatically merged (no conflicts)
  • Code follows project standards (link if applicable)
  • Passes all existing automated tests
  • Any change in functionality is tested
  • New functions are documented (with a description, list of inputs, and expected output)
  • Placeholder code is flagged / future todos are captured in comments
  • Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
  • Reviewers requested with the Reviewers tool ➡️

Testing checklist (automated report can be put here)

Target Environment support

  • Linux

hellkite500
hellkite500 previously approved these changes Apr 3, 2020
Copy link
Member

@hellkite500 hellkite500 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Going to merge and open a couple issues to fix up

@@ -91,8 +91,19 @@ class hymod_kernel
return 0.0;
}

//! stub function to simulate losses due to evapotransportation
static double calc_et2(double soil_m, void* et_params)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should rename this function to calc_et_

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe calc_et_pdm03?

@@ -14,6 +14,7 @@ extern "C"
double Cpar;
double B;
double XHuz;
double Huz;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We really need to fix up all these variable names. Will open an issue to do so.

*/


inline double greg_2_jul(long year, long mon, long day, long h, long mi, double se)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we keep these around long enough, a date/time utility header might be a good idea.

@hellkite500
Copy link
Member

Closes #38.
@jdmattern-noaa will need to rebase #35 after merge.

@hellkite500
Copy link
Member

@donaldwj There are some conflicts with master, can you rebase and update your branch?

@donaldwj
Copy link
Contributor Author

donaldwj commented Apr 3, 2020

Can you give the syntax for the rebase. I normally use just use pull upstream to resolve upstream conflicts.

Copy link
Contributor Author

@donaldwj donaldwj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nels I tried using githubs online conflict resolve tool. It seems to have worked so this can probably be applied.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants