Comments (9)
From what I can tell MerrySky does their own processing on the hourly data to categorize them as Light Rain/Rain/etc. whereas BriefSky is showing the data directly from the API. I also see you created this issue on BriefSky which I'll link here as well.
There is already an issue open to implement text summaries/descriptions (#48) but it seems to be more of a long-term goal so I wouldn't expect it as part of the V2 update. I did mention in that issue that maybe getting the translations/descriptions working would be a good first step and then the summaries can come later.
Another thing to note is that MerrySky does have caching enabled which is why there may be differences between the two outputs as it seems like BriefSky uses your own API key and gets the most up-to-date data available.
from pirateweather.
I looked at the dark sky translation repo. I am not sure if i understand the concept. Seems like their API was producing structured expressions that were then used to get a human readable summaries from the translation files (en.json) for example. Would pirate weather need to create the structured expression for this to work?
from pirateweather.
Yes, DarkSky used the translation repo in their app to produce the summaries/descriptions. We don't know how they used the repo in their API since the code that produced the API isn't open source.
@alexander0042 would need to write the code in order to produce the human readable summaries using the translation repo. I believe he mentioned that he was working on creating the human readable summaries before he started work on V2 of the API.
from pirateweather.
I see, Do you know if there is a way to run pirate weather locally or self host it with the complete architecture? Maybe if that was possible we could have other people look into it
from pirateweather.
Unfortunately there is no way to self-host or run the API locally at the moment. There is this issue #11 and it's part of the V2 road map.
from pirateweather.
@alexander0042 any plans to use https://github.com/blaylockbk/Herbie? seems like this would help with processing the grib files?
from pirateweather.
He did submit a PR in the Herbie repository so it looks like he is intending to use it in V2 of the API.
We're starting to get a bit off-topic here so unless the dev of BriefSky wants to implement his own processing you'd have to wait until #48 is solved for the inconsistencies end. If you'd like to discuss about open-sourcing/self-hosting you can do so here #11
Unfortunately, I cannot provide any more information as I don't have any access to the back-end code so you'll have to wait for @alexander0042 to reply with more info. He usually tries to respond to items on GitHub a couple of times a week depending on how busy he is.
from pirateweather.
Hey, thanks for opening this issue, and also cluing me into Briefsky, which I hadn't seen before!
To answer your initial question- I suspect the reason they're different is because Merrysky always calls the midnight forecast, which is a clever workaround to the daily high/ daily low bug; however, sometimes leads to differences in data throughout the day. V2 addresses this (including using the wonderful Herbie), so should fix this problem soon!
The self hosting question is a long running one, My goal here is to make the code open so people know where their weather data is coming from; hpowever, since everything is so tied into AWS actual self hosting is going to be very tricky to make possible. To be honest, there are some really cool AI forecasting products coming online now, and I think that's a better approach for anyone that wants to self host something. I can't think of a good use case of self hosting a weather API of the model data is still being provided by the cloud.
And text descriptions are high on the list, just need to code it! It'll be after V2, but no too far after
from pirateweather.
@alexander0042 Thanks for the input! I will look into how to all the midnight forecast to address the bug until V2 is out.
Also the only missing part from the open source is how to extract data from the processed file when a query for a certain latitute and longitude comes in. I dont know how to how that process is being done and it would be cool to learn.
from pirateweather.
Related Issues (20)
- recieving "could not JSON decode Lambda function response: statusCode validation failed" error when using time machine HOT 4
- Translations HOT 2
- Add dusk and dawn HOT 3
- V2 API General Feedback HOT 6
- Home Assistant not as accurate as Merry Sky HOT 3
- `elevation` should report forecast point elevation HOT 8
- National Weather Service alert record URLs no longer valid HOT 3
- Water-related data: tides, temp, pollution-related, fishing depths HOT 2
- Local Time format not working for time machine API HOT 3
- API Version 2, Beta testing notes, issues, and feedback HOT 45
- Remaining Bugs/Issues for the V2 Development API HOT 3
- Document V2.0 changes in the API docs
- Lightning Strike Sensors - Blitzortung HOT 4
- TimeMachine Endpoint Changelog HOT 2
- Model Data Not Integrating - Production & Development API HOT 8
- How can I delete my account? HOT 2
- Getting error when i try to use the wether api - could not JSON decode Lambda function response: statusCode validation failed. HOT 4
- NBM Regional Models
- exclude=hourly,minutely does not longer work for me HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pirateweather.