-
Notifications
You must be signed in to change notification settings - Fork 10
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
Unhandled 'ice' weather makes weather models throw #16
Comments
A lot of confusing things here. To start with, the th0rnleaf model hasn't been used in over a year, why do you have it enabled? (I should really get around to archiving them more visibly 🤔) Secondly: so you updated from the pre-webhook branch to the webhooks right? Aside from these are the rest of your areas working? |
So I can't recreate this at all. Can you tell me what the weather data looks like just before it's processed by the model? It'll be the The ones that look like this:
|
th0rnleaf is literally in config example 1, and something called 'old' in 2 LOL - so which would you choose :D Direction on what to use probably step one LOL I mentioned that I pulled to latest v2-webhook, and this was the default branch when I cloned it :D If you want me to dig up logs on something 'obsolete' I will, but if I just need a new model (and your examples/libs cleaned up) we can start there lol |
I wish there was a way to put comments in JSON. Without an explanation that it's optional it does get confusing. You should remove it from your configs as well, the default model is ajstewart and it'll be used automatically. But the bug you faced has nothing to do with the model. The model function was being fed empty data and that would happen on any of them. |
ok I'll get you some logs from the affected areas :) just making sure, I have a TON of cells monitored on a commercial key so if it was pointless, not something i wanna shovel through :D |
as for the commented JSON, most of the pogo app devs I work with will break the json out with comments in the README.MD & if it's optional, the value in example should be removed or matching default :) |
Good thing you can just search through the logs for the exception and no shoveling is involved 😺 |
this is one of the non-posters at the time of report. And yes, I have to dig, cuz despite setting 'combine_logs' in my pm2 environment, I still get an out and error log separate 😒 one of them things I've been meaning to look at fixing 😄 I've updated my config to use ajstweart now as well (ik default, but I like to keep values in use in view LOL)
|
None of those labels are amiss 🤔 Any chance you can shovel up the saved data for that hour; from |
2020-12-04.zip |
Well, found the culprit. It's a 'never-before-seen' weather label of "ice". Do you get this often? It wasn't on the hour 14 though, but queryhours 4–10 have some ice forecasts for 4pm and 6pm. Can you keep an eye out whether you get any snow in-game for those hours and then let me know? Turns out it's a rare (could be chiefly Torontonian) condition that AW reports, and the sole TSR thread I could find doesn't tell me anything conclusive about what in-game weather it usually maps to, so you'll have to do some observations for us :] I am updating all three models with a tentative case for 'ice' forecasts for now defaulting to clear, because I have a feeling people would've reported it more as positive had they noticed it as snow in-game. |
LOL this is Northern Ontario, Canada. Ice is a way of life 😂 I'll gladly make some observations, likely more thru the month as winter picks up. I started running this when i posted that windy icon issue, so first time encountering it in your app 😄 Gonna pull the updates and will report with more ASAP I'll also get my users on the case, so I have more eyes and local verification. |
You can pull v2-webhook now, it has the new condition for all three models (after two embarassing force pushes that we shall not talk about.) I wish we had snow in-game over here...or windy, or even foggy since that one time half the country got stuck with mid-day fog due to anomalous real-life conditions, or players who actually bother reporting discrepencies with the forecasts in my community :pepehands:... |
so.... LOL - after attempting to pull, fighting with git, backing up my config/data, nuking it, recloning it and starting up, I get this spamming the error log. It's not even time for it to run yet
😂 no more force commits lolol |
You got merge conflicts? Must've pulled between my forced ones I guess. Nothing about the config or data changed either, you could've just force pulled as well... Either way, that error is because your Node version doesn't support the nullish coalescing operator. You would have to update to Node 14+ (I will update the package's required Node version and other metadata after this week's changes settle.) |
LOL I think everything I run supports 14 but I have 12, wasn't an issue before. I'll check my stuff and update |
Let me know what i can research for you to try and help resolve it. I just pulled up to latest on v2-webhook but there were no changes to thornleaf nor do I have ratelimit concerns. Thanks :)
The text was updated successfully, but these errors were encountered: