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

Consider using modulo operation in converting longitudes #27

Closed
geanders opened this issue Apr 13, 2021 · 0 comments
Closed

Consider using modulo operation in converting longitudes #27

geanders opened this issue Apr 13, 2021 · 0 comments

Comments

@geanders
Copy link
Owner

Currently, there is some code in create_full_tracks that handles different longitude conventions. Consider changing to use modulo operations.

Currently:

tclon = ifelse(.data$tclon > -180, .data$tclon, .data$tclon + 360)

instead?

tclon = .data$tclon %% 360
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

1 participant