Since hydromt v1 is now officially out, I think it is wise to update to that new code. This will avoid dependency issues in the future. The API's are quite different so I have a bit of trouble with converting the code.
According to the migration manual, I think Model should have a logger instance. This does not seem to be the case since this also raises KeyError: 'logger':
from hydromt.model import Model
mod = Model()
mod.logger
Checklist
[ ] Updated tests or added new tests
[x] Branch is up to date with main
[ ] Tests & pre-commit hooks pass
[ ] Updated documentation if needed
[ ] Updated changelog.rst if needed >> useful to put this in the changelog to make users aware
Issue addressed
Fixes #137
Explanation
Since hydromt v1 is now officially out, I think it is wise to update to that new code. This will avoid dependency issues in the future. The API's are quite different so I have a bit of trouble with converting the code.
What I did:
_
, is this expecded?KeyError: 'logger'
, see belowImportError: HTTPFileSystem requires "requests" and "aiohttp" to be installed
According to the migration manual, I think
Model
should have a logger instance. This does not seem to be the case since this also raisesKeyError: 'logger'
:Checklist
main