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

As AI-as-a-Service developer for a new road weather forecasting model applied to the road weather datasets of the Open Data Hub, I would like to integrate some weather forecasts data in the Open Data Hub, so that the implementation of the model is simpler #666

Open
3 tasks
rcavaliere opened this issue Mar 22, 2024 · 6 comments
Assignees

Comments

@rcavaliere
Copy link
Member

rcavaliere commented Mar 22, 2024

@clezag
Copy link
Member

clezag commented Mar 28, 2024

@rcavaliere are you sure about this library?

I have taken a quick look and initially failed to install it, because in their own install instructions they had a typo, so the package name was wrong.
The repo hasn't gotten any commits for 3 years, has 0 issues opened, no forks, and from the typo in the install instructions still being there I assume nobody is using this.

I'd just like to avoid putting in a lot of work and then realizing the library doesn't work right for whatever reason (in 3 years maybe the file formats changed or something similar), or we have to maintain the library ourselves if future issues come up.

EDIT: nevermind, I've looked at the actual code, and it's just a few hundred lines, so we can probably manage if there are no alternatives

@rcavaliere
Copy link
Member Author

@clezag CISMA has provided me now some more details, I will upgrade the technical details on how to extract the data here by preparing the usual technical specification document. I will however work on this starting next week

@ohnewein
Copy link
Member

@dulvui is in an e-mail thread investigating together with @rcavaliere and CISMA about this issue.

@rcavaliere
Copy link
Member Author

Based on some information received yesterday by CISMA, the technical feasibility should be confirmed, @ohnewein

@rcavaliere
Copy link
Member Author

Instruction for preliminary JSON creation consolidated with CISMA:

240902_SpecificheIntegrazione_WeatherForecasts_NOI_v1.1.docx

@dulvui can you provide some JSON examples, so that we can design the integration in our database?

@rcavaliere rcavaliere assigned rcavaliere and clezag and unassigned dulvui Sep 20, 2024
@clezag
Copy link
Member

clezag commented Dec 9, 2024

Here's a test JSON:
test.json

If you want to extract some yourself, you can use this script as extract.sh
(GH doesn't allow upload of .sh files)

#!/bin/bash
wget -qO - $1 | bzip2 -dc > tmp
docker run --name grib2json --rm -v ./tmp:/input -e "ARGS=--names --data /input" alexwoif/docker-grib2json
rm tmp

And then just run it like this:

./extract.sh https://opendata.dwd.de/weather/nwp/icon-d2/grib/21/t_2m/icon-d2_germany_regular-lat-lon_single-level_2024120821_020_2d_t_2m.grib2.bz2 > test.json

It didn't work on the icosahedral type files, I assume we'd have to upgrade some dependencies in this tool, it hasn't been maintained for 7 years.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants