From a46feacd28df1c7b87358a99446ed0b2d8567c5b Mon Sep 17 00:00:00 2001 From: GreyEvenson-NOAA Date: Tue, 12 Mar 2024 14:42:20 -0400 Subject: [PATCH] Cleanup --- bmi/bmi_noahowp.f90 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/bmi/bmi_noahowp.f90 b/bmi/bmi_noahowp.f90 index 8da4915..f1247c1 100644 --- a/bmi/bmi_noahowp.f90 +++ b/bmi/bmi_noahowp.f90 @@ -152,7 +152,6 @@ function noahowp_input_var_names(this, names) result (bmi_status) input_items(7) = 'Q2' ! mixing ratio (kg/kg) input_items(8) = 'PRCPNONC' ! precipitation rate (mm/s) - names => input_items bmi_status = BMI_SUCCESS end function noahowp_input_var_names @@ -307,7 +306,7 @@ function noahowp_var_grid(this, name, grid) result (bmi_status) 'QINSUR', 'ETRAN', 'QSEVA', 'EVAPOTRANS', 'TG', 'SNEQV', 'TGS', & ! output vars 'ACSNOM','SNOWT_AVG','ISNOW','QRAIN','FSNO','SNOWH','QSNOW', & 'ECAN','GH','TRAD','FSA','CMC','LH','FIRA','FSH','CWP','VCMX25', & - 'MP','MFSNO','RSURF_SNOW','HVT','FRXZ','KDT','RSURF_EXP','REFKDT', & + 'MP','MFSNO','RSURF_SNOW','HVT','FRZX','KDT','RSURF_EXP','REFKDT', & 'AXAJ','BXAJ','XXAJ','SLOPE','SCAMAX') grid = 0 bmi_status = BMI_SUCCESS @@ -1304,6 +1303,9 @@ function noahowp_set_float(this, name, src) result (bmi_status) parameters%dksat(:) = src(:) parameters%kdt = parameters%refkdt * parameters%dksat(1) / parameters%refdk bmi_status = BMI_SUCCESS + case("KDT") + parameters%KDT = src(1) + bmi_status = BMI_SUCCESS case("RSURF_EXP") parameters%RSURF_EXP = src(1) bmi_status = BMI_SUCCESS @@ -1326,6 +1328,9 @@ function noahowp_set_float(this, name, src) result (bmi_status) case("SCAMAX") parameters%SCAMAX = src(1) bmi_status = BMI_SUCCESS + case("FRZX") + parameters%FRZX = src(1) + bmi_status = BMI_SUCCESS case default bmi_status = BMI_FAILURE end select