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

Improve plotting code for SOS (spline-on-the-sphere) smooths #277

Open
gavinsimpson opened this issue Apr 4, 2024 · 0 comments
Open

Improve plotting code for SOS (spline-on-the-sphere) smooths #277

gavinsimpson opened this issue Apr 4, 2024 · 0 comments
Labels
enhancement New feature or request plotting

Comments

@gavinsimpson
Copy link
Owner

See r-spatial/sf#2348 for a function that produces a nice sphere on a proper grid. Need to combine the code in this thread with existing code. The main issue is when we have data near the edges of the lat/long scale.

Currently I just create data that is evenly spread over lat/long. But when near the edges and we combine this with the tiles used to plot, where the grid points define the tile centres, the edges of the tiles can go beyond > 90 Latitude or > 180 longitude (in absolute value). So I need to be much more careful when creating these grids for this kind of smoother as I do want to use coord_sf for plotting and that requires I have proper geometry,

@gavinsimpson gavinsimpson added enhancement New feature or request plotting labels Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request plotting
Projects
None yet
Development

No branches or pull requests

1 participant