-
Notifications
You must be signed in to change notification settings - Fork 85
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
Regarding the colaboration on the library #4
Comments
Definitely! Looks like you have some great additions. It also adds opportunities for new vector/raster integrations. So, I think a discussion for how best to integrate There are several different ways to proceed, so I will just do a brain dump on my initial thoughts: 1. xgeo uses rioxarray as engine
The benefits of this approach would be that it would make the dependency list targeted specifically to the use case and If this approach is taken, then we could discuss changes to the 2. Add the geopandas functionality into geocubehttps://github.com/corteva/geocube Currently, the geocube toolset already has geopandas as a dependency. So, adding in an extension here wouldn't require any changes to the dependencies. However, the downsides are that the 3-? .... Other ideas welcome |
Also, as a side note @Geosynopsis, I noticed that you have code for CF to CRS conversions. This may be of interest to you: |
I've never actually used My hope is to keep geoxarray fairly simple given how much work has been put in to It sounds like we have three distinct, but not completely separate use cases (rasterio versus geopandas versus simple). Maybe this isn't the place, but @snowman2 do you see a reason to use rasterio's CRS object over pyproj's when assigning CRS information to a DataArray/Dataset? |
I think |
That would definitiely be useful. With this thinking in mind, I am wondering if |
It would be nice if our three libraries (if they stay as 3) could use the same naming and object types for coordinate variables at least. I see I just saw your comment about geoxarray being a base for rioxarray (and possibly ...Or you could propose changes to geoxarray to support what you need in rioxarray and we could release something? |
Sounds like a good idea. I will think on this. |
@djhoese @snowman2 As far as I understood the initial motive, it would be great to consolidate the libraries if possible. If you see the design pattern of xarray itself, the xarray relies optionally on many libraries like dask or rasterio or netcdf. So IMO, it makes sense to consolidate the libraries providing the options to the users to tune the dependencies based on the operations they want to use. That way, we can have a combined workforce on maintaining a single library. |
@Geosynopsis, you are indeed correct that we want to consolidate functionality where it make sense. You also bring up a good example of a well-organized project with optional dependencies. I am currently thinking that combining these libraries could happen in stages. My initial thoughts are in stage 1 we can combine the pieces of After stage 2 is complete, I think we will be in a better place to decide if and how to better consolidate. In the end, it all comes down to what the scope of projects should be. Keeping them separate is also a good option and examples of doing so are in related xarray projects and django extensions.
I think either way we organize it we can have a combined workforce working towards the same goal. But, I think having time to think about it would be a good idea too (at least for me :)). |
@shaharkadmiel, I figured I should add you here for the discussion of collaboration with geo accessors. |
Hey @snowman2, I have also been playing around with the xarray for geospatial fuctionality as well which you can access at xgeo. As rightfully pointed out by @djhoese in xarray thread 2228, may be we can collaborate together.
The text was updated successfully, but these errors were encountered: