iiasa / climate-assessment

https://climate-assessment.readthedocs.io/en/latest
MIT License
19 stars 18 forks source link

Fix issue #19: when input data has no non-co2 variables #22

Open jkikstra opened 1 year ago

jkikstra commented 1 year ago

For full description of error, see #19.

jkikstra commented 1 year ago

Wrote an ad-hoc fix.

@phackstock if you need this soon, would you perhaps be able to take this a bit further (i.e. maybe a tests/docs, and check if my implementation makes sense)?

@znicholls FYI

znicholls commented 1 year ago

@znicholls FYI

Thanks, I put my comments in the issue to keep things in one place, implementation looks fine and I think adding tests/docs would be great (there's probably a much larger conversation to be had about whether we want to put more effort into cleaning things up in the repo in general, let me know if you have thoughts on that too).