update organic fract option to allow for bulk density comb option
@@ -588,7 +588,9 @@ vic_init(void)
}
}
- // bulk_dens_org: organic bulk density for each soil layer
+ if (!options.BULK_DENSITY_COMB) {
+ // read in bulk_dens_org:
+ // organic bulk density for each soil layer
for (j = 0; j < options.Nlayer; j++) {
d3start[0] = j;
get_scatter_nc_field_double(&(filenames.params), "bulk_density_org",
@@ -597,7 +599,7 @@ vic_init(void)
soil_con[i].bulk_dens_org[j] = (double) dvar[i];
}
}
-
+ }
// soil_dens_org: organic soil density for each soil layer
for (j = 0; j < options.Nlayer; j++) {
d3start[0] = j;
