Unhelpful error when forgetting 'file=' for resource specification #472
Labels
has-workaround
The issue describes a valid workaround until the primary issue is solved
timeseries
v0.6
Version 0.6
Problem description
When I was trying to set up a simple minimal model, I got the following error:
My first debugging efforts showed that the error occurred when
demand.csv
values had been loaded as strings instead of floats.After a lot of confusion and searching, I managed to find that I had forgotten
file=
for my wind_resource specification instead, i.e.,instead of
As a new user, this was very discouraging. If the error message could be improved for such a case, that would be very helpful.
Full output of `calliope run model.yaml --debug`
Steps to reproduce the problem
files to reproduce
model.yaml:
model_config/techs.yaml
model_config/locations.yaml
demand.csv
wind_resource.csv
Calliope version
The text was updated successfully, but these errors were encountered: