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

Map shows high levels #42

Open
BNNorman opened this issue Jul 25, 2019 · 7 comments
Open

Map shows high levels #42

BNNorman opened this issue Jul 25, 2019 · 7 comments
Labels
bug Something isn't working

Comments

@BNNorman
Copy link

The map has a purple colored section but the highest reading is from freetown way at 30 something. Purple should kick in around 70.

@sbrl sbrl added the bug Something isn't working label Jul 25, 2019
@sbrl
Copy link
Collaborator

sbrl commented Jul 25, 2019

Hey! I'm not seeing this. When precisely was this happening?

@BNNorman
Copy link
Author

BNNorman commented Jul 25, 2019 via email

@sbrl
Copy link
Collaborator

sbrl commented Jul 28, 2019

Hrm, interesting. It's possible that it's due to differing algorithms that are used to average the data points for the heatmap and the device graph respectively.

@bsimmo
Copy link
Member

bsimmo commented Aug 2, 2019

Is this similar to what I'm seeing here ?
Using ingocnito browsing so nothing else kicks in to chek.
Whn PM2.5 hitting around 10ug/m3 is going to an orange colour, I've seen before on a steady plot and this is a more extreme example

Attached showing the effect currently.
It should be a dark green colour at the maximum, not the orange in the background. Is it a transparency effect causing it ?

image

@BNNorman
Copy link
Author

BNNorman commented Aug 2, 2019

My 4 sensors are in that area - are they causing the effect you are seeing? Before we had summation - do we now have subtraction?

@bsimmo
Copy link
Member

bsimmo commented Aug 2, 2019

for the bit I pointed out, it's the Essex Road sensor, it's also happened on mine every now and a again.
yours is easy to see with the big number 4 to the right of the

I couldn't see anything wrong with the colour categories. 0,4 is the transparency. Didn't quite get to splitting, but I think there is no addition/subtraction when it's one sensor box.

@sbrl
Copy link
Collaborator

sbrl commented Aug 4, 2019

Ah, thanks for the screenshot, @bsimmo!

Looks like we'll need to do some debugging here and catch the exact value it's trying to display.

It's possible that the interpolation between colours on the heatmap and gauge at the side are slightly different (unlikely), or that the average reported by the device-data HTTP API action is different to that reported by device-data (more likely).

It should be displaying 1 cell in the diagram for each device, @BNNorman. I suspect that there's a bug lurking in there somewhere though, because there aren't as many cells as there perhaps should be. I'd like to finish handling #36 first personally, so that then I can see which markers are supposed to have a segment in the heatmap and which ones shouldn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants