Re: [R] Extracting wind direction and wind speed from wind rose plot

2024-10-30 Thread avi.e.gross
I am curious what you mean by "having a graph." If you mean something drawn on paper or an image on your screen, then extracting specific data at various points is an effort, perhaps more so if a wind rose plot does not contain all you need. If you have something like a ggplot2 object, it tends to

Re: [R] Extracting wind direction and wind speed from wind rose plot

2024-10-30 Thread Ebert,Timothy Aaron
1) If you already have two data frames, one as shown, the other with Wind_Speed and Wind_Dir, then you can use cbind() to join them if they have the same number of rows. If not, then you will have to edit one of the data frames (to get the same number of rows) or add column(s) so that both data

Re: [R] Extracting wind direction and wind speed from wind rose plot

2024-10-30 Thread Jeff Newmiller via R-help
A wind rose plot omits time information. Your request is simply not possible. On October 30, 2024 3:48:03 AM PDT, javad bayat wrote: >Dear all; >I am searching for a way to extract wind direction and speed from a wind >rose plot. I have a graph and I want to make a dataframe of 5 years with >hou

[R] Extracting wind direction and wind speed from wind rose plot

2024-10-30 Thread javad bayat
Dear all; I am searching for a way to extract wind direction and speed from a wind rose plot. I have a graph and I want to make a dataframe of 5 years with hourly intervals. > start_date <- as.POSIXct("2019-01-01 00:00:00") > end_date <- as.POSIXct("2023-12-31 23:00:00") > time_sequence <- seq(fro