Comments (5)
Have a look at https://github.com/danwild/wind-js-server
Especially the app.js for a good source of wind data (https://nomads.ncep.noaa.gov/)
from leaflet-velocity.
Thanks so much for your response! I have looked at the other wind-js pages, however I am using Program R, not a java script to try and create my map. Using a function called addVelocity in this R package https://cran.r-project.org/web/packages/leaflet.extras2/leaflet.extras2.pdf. Do you have any advice or knowledge on the leaflet functions in R?
from leaflet-velocity.
I recommend getting the demo data working with your setup just to confirm the R- Leaflet-velocity connection is working.
from leaflet-velocity.
Thanks for your help and suggestions. The addVelocity function in R does work with the demo data. But I have been unsuccessful in formatting my wind data (downloaded from the previously posted website, or downloaded from the rWind package in R) into the correct structure in the json file for it to work with the velocity function. Is there any info on how the demo data is formatted, or what components/data points leaflet-velocity needs to produce wind arrows. I have lat/long, wind speed, wind direction and u and v components in 50km grid format for my geographic region of interest. Thanks!
from leaflet-velocity.
This leaflet-velocity plugin for Leaflet uses a very specific (and rare) format of vector data. To some extent it is a JSON fomat of the binary GRIB2 WMO format of GFS data generated by NOAA's NCEP.
Have a look in the demo .JSON file in the demo folder . The wind-gbr.json file is the simplest example: it has two components U, V of wind. Each component is in a JSON object with a header section and data section. The header names are from the GRIB format mentioned above.
from leaflet-velocity.
Related Issues (20)
- Get wind information at a point HOT 1
- can't get the right angle convention :) best is 90°
- Opacity option not used
- setOptions colorScale not woking? HOT 1
- How to prepare the data from openweather API for velocify wind map?
- Problem with Unicode characters in leaflet-velocity.js
- Query regarding demo wind.json file
- Cannot read properties of null (reading 'containerPointToLayerPoint')
- how can i find point Xindex, Yindex onMapClick ?
- Vector display/animations not showing HOT 5
- Project still working? HOT 2
- Processing data for leaflet-velocity HOT 1
- leaflet-velocity does not update from wind-js-server HOT 1
- Layer does not cover entire map HOT 2
- support CoverageJSON HOT 7
- is it possible to implement this plugin with tile server?
- parameterUnit - no info on valid values HOT 1
- Demo Broken in Chrome? HOT 2
- Implement rainfall data HOT 1
- Can we use this to also create isobars? HOT 2
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 leaflet-velocity.