Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
GreyEvenson-NOAA committed Mar 12, 2024
1 parent 0330964 commit a46feac
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions bmi/bmi_noahowp.f90
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a46feac

Please sign in to comment.