Skip to content

Commit e7192c5

Browse files
committed
convert pressure to kPa when reading it in rather than Pa since this was updated in VIC 5
1 parent 1c13e93 commit e7192c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vic/drivers/cesm/src/vic_force.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ vic_force(void)
127127
for (j = 0; j < NF; j++) {
128128
for (i = 0; i < local_domain.ncells_active; i++) {
129129
// CESM units: Pa
130-
// VIC units: Pa
131-
force[i].pressure[j] = x2l_vic[i].x2l_Sa_pbot;
130+
// VIC units: kPa
131+
force[i].pressure[j] = x2l_vic[i].x2l_Sa_pbot / PA_PER_KPA;
132132
}
133133
}
134134

0 commit comments

Comments
 (0)