Skip to content

Commit

Permalink
fix cfe max_gw_storage unit conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshCu committed Jan 7, 2025
1 parent 3aa40e2 commit d14c50f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/data_processing/create_realization.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def make_cfe_config(
slope=row["mean.slope"],
smcmax=row["mean.smcmax_soil_layers_stag=2"],
smcwlt=row["mean.smcwlt_soil_layers_stag=2"],
max_gw_storage=row["mean.Zmax"] if row["mean.Zmax"] is not None else "0.011[m]",
max_gw_storage=row["mean.Zmax"]/1000 if row["mean.Zmax"] is not None else "0.011[m]", # mean.Zmax is in mm!
gw_Coeff=row["mean.Coeff"] if row["mean.Coeff"] is not None else "0.0018[m h-1]",
gw_Expon=row["mode.Expon"],
gw_storage="{:.5}".format(gw_storage_ratio),
Expand Down

0 comments on commit d14c50f

Please sign in to comment.