# NOT RUN {
# Load the example vertical profile
vp <- example_vp
# Convert to a data.frame
vp_df <- as.data.frame(vp)
# Print data.frame
vp_df
# Load the example time series of vertical profiles
vpts <- example_vpts
# Convert to a data.frame
vpts_df <- as.data.frame(vpts)
# Print the first 5 rows of the data.frame
vpts_df[1:5, ]
# Do not add lat/lon/height_antenna information
vpts_df <- as.data.frame(vpts, geo = FALSE)
# Do not add day/sunrise/sunset information
vpts_df <- as.data.frame(vpts, suntime = FALSE)
# Override the latitude/longitude information stored in the object when
# calculating sunrise/sunset information
vpts_df <- as.data.frame(vpts, lat = 50, lon = 4)
# }
Run the code above in your browser using DataLab