Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make as.data.frame.vpts the inverse of as.vpts #609

Closed
adokter opened this issue Jul 7, 2023 · 2 comments
Closed

make as.data.frame.vpts the inverse of as.vpts #609

adokter opened this issue Jul 7, 2023 · 2 comments
Milestone

Comments

@adokter
Copy link
Owner

adokter commented Jul 7, 2023

Add the ability to change a vpts object into a data.frame, and then cast it back into a vpts, as in:

as.vpts(as.data.frame(example_vpts))

Current implementation fails because as.data.frame returns several columns that have a different naming convention than VPTS CSV standard. Suggest changing the output data.frame column names as follows:

lon -> radar_longitude
lat -> radar_longitude
antenna_height -> radar_height

Also a column radar_wavelength needs to be added

adokter added a commit that referenced this issue Jul 7, 2023
@adokter adokter added this to the 0.7.0 milestone Jul 7, 2023
@adokter
Copy link
Owner Author

adokter commented Jul 7, 2023

closed by 33001b0

@adokter adokter closed this as completed Jul 7, 2023
@iskandari
Copy link
Collaborator

test added in 708e2e4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants