Issues with addvelocity() function in leaflet.extras2 package onto leaflet map

Hi, I am trying to use the AddVelocity() function in the leaflet.extras2 package in R so that I can add wind velocity visualization data to my leaflet map. I have found JSON u and v wind data from NOAA with a prepared link, but I cant seem to successfully add my wind velocity data using the content=. Any suggestions on how to format the json data so that AddVelocity can process it into an animation? The code below runs in R, but no wind arrows or animation is produced. Any help would be much appreciated!

content<-"https://pae-paha.pacioos.hawaii.edu/erddap/griddap/ncep_global.json?ugrd10m[(2020-06-16T12:00:00Z)][(-23.5):(80.0)][(219.0):(323.5)]&.draw=surface&.vars=longitude|latitude|ugrd10m&.colorBar=|||||&.bgColor=0xffccccff"

leaflet() %>%
addTiles(group = "base") %>%
setView(-71,42,5) %>%
leaflet.extras2::addVelocity(content =content ,group = "velo", layerId = "veloid")

Site with wind data :https://pae-paha.pacioos.hawaii.edu/erddap/griddap/ncep_global.graph?tmpsfc[(2011-05-07T00:00:00Z)][(34.625):(46.875)][(283.125):(295.375)],tmp2m[(2011-05-07T00:00:00Z)][(34.625):(46.875)][(283.125):(295.375)]&.draw=vectors&.vars=longitude%7Clatitude%7Ctmpsfc%7Ctmp2m&.color=0x000000&.bgColor=0xffccccff

...

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.