-
Notifications
You must be signed in to change notification settings - Fork 1
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
Failing to run ExpHydro Model Tutorial #4
Comments
This is quite embarrassing. This issue is also related to the documentation synchronization problem after code updates. In v0.1.1's design, I set the input and output restrictions for components like bucket and model to be AbstractArray type (the convert_to_ntp setting was therefore removed). If you want to use NamedTuple as input like before, you can wrapper this component through NamedTupleIOAdapter. |
No worries, I think these sort of issues are very normal when in early stages of package development! The updates you made to the docs in 7727d7d make things a lot clearer already :) The only mistake I can still spot now is that
This could be solved by adding
somewhere before |
See PR #6 |
Closed by PR #6 |
When running the tutorial as defined in https://github.com/chooron/HydroModels.jl/blob/35ff1bbd24172db898c701da079d8bbbbd9d2bc7/docs/src/tutorials/run_a_exphydro_model.md, I run into a few issues
HydroModels.jl/test/run_lumped_model.jl
Line 11 in 35ff1bb
model
is not defined. To get this running, one should first follow the building Exphydro tutorial (https://github.com/chooron/HydroModels.jl/blob/35ff1bbd24172db898c701da079d8bbbbd9d2bc7/docs/src/implements/build_exphydro_model_en.md) and then construct the model usingmodel = HydroModel(; name=:exphydro, components=[snowpack_bucket,soilwater_bucket])
HydroModels.jl/docs/src/tutorials/run_a_exphydro_model.md
Line 88 in 35ff1bb
convert_to_ntp=true
.The text was updated successfully, but these errors were encountered: