-
Notifications
You must be signed in to change notification settings - Fork 73
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
Remove default binning #874
Conversation
2511e12
to
67cfb9e
Compare
Just so we don't forget, there is still a problem if the first file does not contain sensor responses. If we don't fix it here, we will open an issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small comments
3b748dd
to
35e57d4
Compare
8e58723
to
34fa42a
Compare
34fa42a
to
c8e7fec
Compare
I've rebased on the new master. The PR is now ready to be reviewed one last time. |
c8e7fec
to
e9410d9
Compare
e9410d9
to
23ca5ef
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent. We remove one of the many instances of dangerous default values in our code. We now handle the case with missing values explicitly, but we still have to address the case where the first file does not contain data, for which we will open an issue. The code looks good and is properly tested. Good job!
This PR removes the assignment of a default time binning to sensors, when no sensor response is found in the bunch of files being processed. The city will crash, instead.
Also, a test is modified to account for this change and another one is added.
Closes #857