-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Now that the sf package is well-developed, I think our mapping functions would work better in that system. One idea might be a function that creates an sf object from the grid winds output. This would input a dataset with the latitude and longitude of the grid points (could be an sf object with the gridpoint id as the first column and then the geometry column with the latitude and longitude), then merge in the wind speed and surface wind direction data by gridpoint id so that those pieces of data could easily be mapped.
We could also create a function that takes the storm track info and creates an sf object, so that could be added as a layer to the maps.
There's an excellent book on the sf package and related functions here: https://geocompr.robinlovelace.net/