onstove.Biogas.read_friction#
- Biogas.read_friction(model: onstove.OnStove, friction_path: str)[source]#
Reads a friction layer in min per meter (walking time per meter) and returns a pandas series with the values for each populated grid cell in hours per meter
- Parameters:
- model: OnStove model
Instance of the OnStove model containing the main data of the study case. See
onstove.OnStove
.- friction_path: str
Path to where the friction layer is stored.
- Returns:
- A pandas series with the values for each populated grid cell in hours per meter