Skip to content

Commit

Permalink
convert pressure to kPa when reading it in rather than Pa since this …
Browse files Browse the repository at this point in the history
…was updated in VIC 5
  • Loading branch information
dgergel committed Dec 30, 2016
1 parent 1c13e93 commit e7192c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vic/drivers/cesm/src/vic_force.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ vic_force(void)
for (j = 0; j < NF; j++) {
for (i = 0; i < local_domain.ncells_active; i++) {
// CESM units: Pa
// VIC units: Pa
force[i].pressure[j] = x2l_vic[i].x2l_Sa_pbot;
// VIC units: kPa
force[i].pressure[j] = x2l_vic[i].x2l_Sa_pbot / PA_PER_KPA;
}
}

Expand Down

0 comments on commit e7192c5

Please sign in to comment.