Group Abstract Group Abstract

Message Boards Message Boards

1
|
4.6K Views
|
2 Replies
|
5 Total Likes
View groups...
Share
Share this post:

Getting WindVectorData

Posted 6 years ago

I am trying to plot wind vector data for Hawaii. When I use this command, I get errors stating that there is missing data for some number of GeoPositions: wind=WindVectorData[Hawaiian islands, October 1, 2019, "DownwindGeoVector"]

If I substitute "Hawaiian islands" with "Hawaii" I get a bunch of GeoVector errors, followed by a list of TimeSeries.

What do I need to do to create a GeoVectorPlot for the area around Hawaii, including the 8 main islands?

POSTED BY: Brian Catlin
2 Replies
Posted 6 years ago

Thank you very much!

POSTED BY: Brian Catlin
Posted 6 years ago

Hi Brian,

GeoVectorPlot expects a list of positions and the corresponding vectors. e.g.

hawaiiPolygon = Entity["AdministrativeDivision", {"Hawaii", "UnitedStates"}]["Polygon"];

(* Extracts points *)
hawaiiPoints = Flatten[hawaiiPolygon[[1, 1]], 1];

(* Get the wind data for noon on Oct. 1, 2019 *)
wind = WindVectorData[hawaiiPoints, DateObject[{2019, 10, 1, 12, 0, 0}], "DownwindGeoVector"];

GeoVectorPlot[wind]

enter image description here

Different background and vector coloring

GeoVectorPlot[wind, GeoBackground -> "ReliefMap",  VectorColorFunction -> Hue]

enter image description here

POSTED BY: Rohit Namjoshi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard