Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input data with non-hourly resolution #2

Open
jwohland opened this issue Dec 5, 2023 · 0 comments
Open

Input data with non-hourly resolution #2

jwohland opened this issue Dec 5, 2023 · 0 comments

Comments

@jwohland
Copy link

jwohland commented Dec 5, 2023

I was a bit confused when trying to use demandninja with daily data. It didn't throw any errors but reported NaNs. It's clear from the variable description that demand ninja expects hourly data. However, maybe one could add a

assert df.index.freq == "1H"

in the function definition to save other climate folks some time who might also want to use it with different timesteps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant