Skip to content

Change mapping functions to use simple features (sf package) #47

@geanders

Description

@geanders

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions