NOAA-OWP / noah-owp-modular

Modularized version of the NOAH-MP land surface model.
Other
8 stars 19 forks source link

Check and modify output units for BMI variables in `main` and `noah_om_grid` branches #117

Open SnowHydrology opened 1 week ago

SnowHydrology commented 1 week ago

Some variable units were transformed to match NWM v3.0 output. However, this should not be done in the model's BMI specification as it affects how variables are passed from one model to another in a NextGen formulation.

For example, we had to revert the change to water%evapotrans so that Noah-OM would once again work when coupled to CFE and TOPMODEL: https://github.com/NOAA-OWP/noah-owp-modular/pull/115

This issue is to check the BMI implementation of the main and noah_om_grid branches to ensure variable units are correct and that no transforms are performed in get_value.

See example here of the variable ECAN, which needs to be fixed: https://github.com/NOAA-OWP/noah-owp-modular/blob/37d8d8257fc083d171fe5c1aee6bd72ddb504a43/bmi/bmi_noahowp.f90#L942

For each variable, the developer must update: