jdemaeyer / brightsky Goto Github PK
View Code? Open in Web Editor NEWJSON API for DWD's open weather data.
Home Page: https://brightsky.dev/
License: MIT License
JSON API for DWD's open weather data.
Home Page: https://brightsky.dev/
License: MIT License
Let's assume that no processor takes longer than 30 minutes. Then no lock should be held for longer than 30 minutes.
Seems like it's not releasing everything when done parsing a record source?
Add a timezone
parameter to the API which will be used
date
and last_date
parameter if they have no timezone information, andWe could possibly include a local
special value where we determine the timezone from the requested location (e.g. via https://github.com/pegler/pytzwhere).
Note: Deal with #52 first to see if this is actually worth it.
E.g. take three sources per observation type, then query weather
with a source_id IN
clause. In a second step, try caching the sources by lat/lon (rounded to .01
precision)
If one of the meteorological elements is not available from our preferred station, get it from the next one.
I.e. instead of
SELECT DISTINCT ON (timestamp)
temperature,
...
do
SELECT
timestamp,
FIRST(temperature),
...
GROUP BY timestamp
This implies that we cannot return source information (station_id, location, etc.), since a single timestamp could be comprised of elements from multiple sources.
We can probably get by with the much more lightweight earthdistance
: https://blog.rebased.pl/2020/04/07/why-you-probably-dont-need-postgis.html
Either SYNOP reports or BEOB files
Can we throw out stations not providing all elements for simplicity?
Writing MOSMIX updates to the database takes about ten minutes on my machine. Is there a way we can speed it up?
Can we remove lat/lon from the weather
table but accomodate station location changes?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.