ewatercycle.models.pcrglobwb module
eWaterCycle wrapper around PCRGlobWB BMI.
- class ewatercycle.models.pcrglobwb.PCRGlobWB(version: str, parameter_set: ParameterSet, forcing: Optional[PCRGlobWBForcing] = None)
Bases:
AbstractModel
[PCRGlobWBForcing
]eWaterCycle implementation of PCRGlobWB hydrological model.
- Parameters
version – pick a version from
available_versions
parameter_set – instance of
ParameterSet
.forcing – ewatercycle forcing container; see
ewatercycle.forcing
.
- available_versions: ClassVar[Tuple[str, ...]] = ('setters',)
Versions of model that are available in this class
- setup(cfg_dir: Optional[str] = None, **kwargs) Tuple[str, str]
Start model inside container and return config file and work dir.
- Parameters
cfg_dir – a run directory given by user or created for user.
**kwargs – Use
parameters()
to see the current values configurable options for this model,
Returns: Path to config file and work dir
- forcing: Optional[ForcingT]
- bmi: Bmi
Basic Modeling Interface object