Skip to content

Commit

Permalink
reverting evapotrans units back to m/s (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
SnowHydrology authored Sep 4, 2024
1 parent bc53cad commit 37d8d82
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bmi/bmi_noahowp.f90
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ function noahowp_output_var_names(this, names) result (bmi_status)
output_items(1) = 'QINSUR' ! total liquid water input to surface rate (m/s)
output_items(2) = 'ETRAN' ! transpiration rate (mm)
output_items(3) = 'QSEVA' ! evaporation rate (mm/s)
output_items(4) = 'EVAPOTRANS' ! evapotranspiration rate (mm)
output_items(4) = 'EVAPOTRANS' ! evapotranspiration rate (m/s)
output_items(5) = 'TG' ! surface/ground temperature (K) (becomes snow surface temperature when snow is present)
output_items(6) = 'SNEQV' ! snow water equivalent (mm)
output_items(7) = 'TGS' ! ground temperature (K) (is equal to TG when no snow and equal to bottom snow element temperature when there is snow)
Expand Down Expand Up @@ -642,13 +642,13 @@ function noahowp_var_units(this, name, units) result (bmi_status)
case("Q2")
units = "kg/kg"
bmi_status = BMI_SUCCESS
case("QINSUR","DKSAT")
case("QINSUR","DKSAT", "EVAPOTRANS")
units = "m/s"
bmi_status = BMI_SUCCESS
case("PRCPNONC", "QRAIN", "QSEVA", "QSNOW")
units = "mm/s"
bmi_status = BMI_SUCCESS
case("SNEQV", "ACSNOM", "EVAPOTRANS", "SNLIQ", "ECAN", "ETRAN", "CMC")
case("SNEQV", "ACSNOM", "SNLIQ", "ECAN", "ETRAN", "CMC")
units = "mm"
bmi_status = BMI_SUCCESS
case("FSNO","ISNOW","MP","MFSNO","BEXP","KDT","RSURF_EXP","REFKDT","AXAJ","BXAJ","XXAJ","SLOPE","FRZX","SCAMAX")
Expand Down Expand Up @@ -946,7 +946,7 @@ function noahowp_get_float(this, name, dest) result (bmi_status)
dest = [water%etran*domain%DT]
bmi_status = BMI_SUCCESS
case("EVAPOTRANS")
dest = [water%evapotrans*domain%DT*mm2m]
dest = [water%evapotrans]
bmi_status = BMI_SUCCESS
case("FIRA")
dest = [energy%FIRA]
Expand Down Expand Up @@ -1251,7 +1251,7 @@ function noahowp_set_float(this, name, src) result (bmi_status)
water%etran = src(1) / domain%DT
bmi_status = BMI_SUCCESS
case("EVAPOTRANS")
water%evapotrans = src(1) * m2mm / domain%DT
water%evapotrans = src(1)
bmi_status = BMI_SUCCESS
case("FRZX")
parameters%FRZX = src(1)
Expand Down

0 comments on commit 37d8d82

Please sign in to comment.