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

A few corrections #8

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

jordi-prats
Copy link
Contributor

I think you might be interested in these corrections:

  • the fix for some integer division issues
  • the correction of the longwave coefficient for cloud_mode=3 and cloud_mode=4
  • a correction of the equation adding snow to the surface layer when there is no ice

Best,
Jordi

In C, 1/7 = 0 (integer division) and 1.0/1.7 = 0.14285...
Fix the longwave coefficient for cloud_mode=3 and cloud_mode=4. According to the original references for Brutsaert (1975) and Yajima, the correct coefficient value is 1.24.
Change 1/10 (=0) to 1.0/10.0 (=0.1) to correct this integer division problem.
An increase in volume was assigned to an increase in height, giving great water level increases. This has been corrected by deleting the term Lake[surfLayer].LayerArea in the line 850.
@matthipsey
Copy link
Contributor

Hey Jordi
Thanks a lot for finding these issues and the fixes, much appreciated ... I'll double check over them (but I think your right in all cases), and then we will merge into our master.
Cheers
Matt

@mcxmcx
Copy link

mcxmcx commented Dec 10, 2017

Dear Jordi:

I wonder the L_outfl and W_outfl are the length and width of semi-axis or axis?

Cheers

@jordi-prats
Copy link
Contributor Author

Of course Matt, glad to help.
However, as noticed by mcxmcx, I got it wrong with the 11f58c6 commit(Fix basin length at outflow height). Thanks for pointing it out, mcxmcx.

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.

None yet

3 participants