bumbeishvili / windjs-over-mapbox

Display wind map over live map
https://bumbeishvili.github.io/windjs-over-mapbox/
31 stars 13 forks source link

data generation question #4

Open Boeblahoebla opened 9 months ago

Boeblahoebla commented 9 months ago

Hi

I know I'm a bit late to the party as it's been a while since the last update but... First of all: nice project!

Other implementations seem to base themselves of an RG image (rgb but no blue component) where the vertex shader is used to parse the "texture" & depending on the R&G components in the raster image file the U&V compoents are being inferred. I like this approach better as it's purely data driven.

Question I was having was: is it possible to share the tool you have used to extract the information from the GRIB2 files? At least I assume you were using grib2 files from the NCEP sftp? Eccodes is a potential avenue, but how did you create the supplied json as a datasource for the visualisation? Is it a custom implementation or is this output generated by the tool in question?

Thx!

bumbeishvili commented 9 months ago

Hi, probably https://github.com/Esri/wind-js is the best place to ask that question.

I just overlayed and synchronised canvas on top of Mapbox