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 sensible heat and rofliq passed to wrf #732

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion docs/Development/ReleaseNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ To check which release of VIC you are running:

[GH#726] (https://github.com/UW-Hydro/VIC/pull/726)

Updates the cesm_put_data.c routine in the CESM driver to include the correct units for evap passed to the coupler.
Updates the cesm_put_data.c routine in the CESM driver to include the correct units for evap passed to the coupler.

[GH#732] (https://github.com/UW-Hydro/VIC/pull/732)

Updates the cesm_put_data.c routine in the CESM driver to include the correct units for sensible heat flux and updates the rofliq calculation to be correct (previously only OUT_BASEFLOW was being divided by global_param.dt).

3. Speed up NetCDF operations in the image/CESM drivers ([GH#684](https://github.com/UW-Hydro/VIC/pull/684))

Expand Down
6 changes: 3 additions & 3 deletions vic/drivers/cesm/src/cesm_put_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,15 +155,15 @@ vic_cesm_put_data()
l2x_vic[i].l2x_Fall_lat = out_data[i][OUT_LATENT][0];

// sensible heat, VIC: W/m2, CESM: W/m2
l2x_vic[i].l2x_Fall_sen += -1 * out_data[i][OUT_SENSIBLE][0];
l2x_vic[i].l2x_Fall_sen += out_data[i][OUT_SENSIBLE][0];

// evaporation, VIC: mm, CESM: kg m-2 s-1
l2x_vic[i].l2x_Fall_evap += out_data[i][OUT_EVAP][0] /
global_param.dt;

// lnd->rtm input fluxes
l2x_vic[i].l2x_Flrl_rofliq = out_data[i][OUT_RUNOFF][0] +
out_data[i][OUT_BASEFLOW][0] /
l2x_vic[i].l2x_Flrl_rofliq = (out_data[i][OUT_RUNOFF][0] +
out_data[i][OUT_BASEFLOW][0]) /
global_param.dt;


Expand Down