Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 698 Bytes

adding_models.rst

File metadata and controls

17 lines (14 loc) · 698 Bytes

Adding a model

Integrating a new model into the eWaterCycle system involves the following steps:

  • Create model as subclass of AbstractModel (ewatercycle/models/abstract.py)
  • Import model in ewatercycle/models/__init__.py
  • Add ewatercycle/forcing/<model>.py
  • Register model in ewatercycle/forcing/__init__.py:FORCING_CLASSES
  • Add model to docs/conf.py
  • Write example notebook
  • Write tests?
  • If model needs custom parameter set class add it in ewatercycle/parameter_sets/_<model name>.py
  • Add example parameter set in ewatercycle/parameter_sets/__init__.py
  • Add container image to setup guide

We will expand this documentation in due time.