os-climate / hazard

Onboarding, creation and transformation of climate hazard models for OS-Climate
Apache License 2.0
8 stars 12 forks source link

Fix degree days model inventory #88

Closed emileten closed 6 months ago

emileten commented 6 months ago

In the degree days model resources, the list of scenarios was hard coded to be the list of all possible scenarios, whereas the model exposes an option to only run selected scenarios. I fixed the resources by removing this hard coded and list and reuse what's passed as an option instead.

I also fixed an inventory I/O bug I introduced in a recent PR.