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

Feature/fix latent heat and longwave coupler fields #695

Merged

Conversation

dgergel
Copy link
Contributor

@dgergel dgergel commented Mar 3, 2017

This PR makes the following changes in the CESM driver:

  • fixes sign for latent heat flux passed from VIC to the coupler
  • fixes sign for longwave radiation (lwup) passed from VIC to the coupler

@@ -258,7 +258,7 @@ vic_cesm_put_data()

Copy link
Member

Choose a reason for hiding this comment

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

Does VIC have different sign conventions for AtmosLatent and AtmosSensible?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

They are the same in ~/vic/vic/drivers/shared_all/src/put_data.c, but these sign conventions agree with those in VIC 4 in RASM (e.g. these make the coupler fields for VIC 5 in RASM agree with VIC 4 in RASM).

1. Fix sign for latent heat fluxes passed from VIC to the coupler
2. Fix sign for longwave radiation passed from VIC to the coupler

([GH#696](https://github.com/UW-Hydro/VIC/pull/696))
Copy link
Member

Choose a reason for hiding this comment

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

there was a merge conflict here that I corrected via github, this does't look quite right though. Can you check/fix this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should be all fixed now.

@jhamman jhamman merged commit adc4c59 into UW-Hydro:develop Mar 8, 2017
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