-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cfe_py is not completely compatible with bmi_py #20
Comments
Useful references for development
|
Issue in variable name mapping (solved)Still have issues in variable mapping.
|
Issue in variable size passed to timestep_rainfall_input_mThe above issue was solved by matching up the ngen variable name and bmi_cfe for precipitation. Precip variable name has been standardized as However, array of size (3) is passed to the cfe.py so that following error is returned.
By adding |
cfe_py
is not entirely convertible with the current version of bmi_py. Therefore, it returns an error when this model is plugged into Ngen.I have debugged as much as possible, but I might have to leave due to time limitations as this is for this year.
Whoever wishes to plug in the CFE python version to NextGen software should ...
add-bmi2
to avoid reinventing the wheel.Changes made in
add-bmi2
branch:Use Bmipy package in bmi_py
Convert CFE as a package
Fixed the get_var_type() function in bmi_py
Upon Nel's comments, I updated the get_var_type function (see discussion here NOAA-OWP/ngen/issues/571#issuecomment-1634818009)
Previous code:
This returned an error
Updated code:
Some suggestions for the developers
The text was updated successfully, but these errors were encountered: