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

working with circular grids #43

Open
lotruheawea opened this issue Jan 4, 2024 · 1 comment
Open

working with circular grids #43

lotruheawea opened this issue Jan 4, 2024 · 1 comment

Comments

@lotruheawea
Copy link

Dear dev team,
first of all, thank you very much for your great work.
I would like to request the feature to be able to set up a FlwdirRaster that has a circular raster referenced. I apply your tools on a global grid defined in a lat-lon grid with lon ranging from -180 to 180 deg. The discontinuity at the boundary causes basins to be split. It would be great to have a way of defining the grid so that the longitutes are angular.
Thanks!

@DirkEilander
Copy link
Contributor

Thanks for you feature request @lotruheawea.

This is not our planning to include any time soon, but I'd be happy to discuss possibilities if you're keen to implement it.

I've had the same issue in the past and then circumvented it by shifting the grid for basins that cross the 180 degree meridian: i.e., shift all cells west of 0 deg longitude by 360 degrees east so that you obtain a 0-360 degree grid.

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