-
Notifications
You must be signed in to change notification settings - Fork 36
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
Support for Multi-band rasters #58
Comments
I wonder if rioxarray might help with the transition? |
Looks like an interesting project. Seems there is some overlap between what this package does and that one. |
They do attempt to solve similar problems. I was thinking it might simplify the transition to use rasterio. Also, it uses Xarray, which I also thought might be useful for solving the multi-band/multi-subdataset support. |
just found that georasters.from_file gave the wrong meta info when handling multi-band raster file, maybe currently we should raise exception? in my case, read a 3 bands(rgb) raster file gave wrong xmin, xmax, so shape of raster file was (3, 256) instead of (3, 256, 256) |
Indeed that is a major issue right now. No multilayer support. I do not think it should be difficult to add a flag to select band for importing once the move to |
In my study, I work with 12 bands. When I tried to read tif file as pandas dataframe with the code |
Sorry not yet. I haven't had the time to do this. It may need quite a bit of rewriting of the whole package to ensure things are being computed the right way. It's one of the issues where help would be more than welcome. |
I would like to point out that since I am new to python, I am not qualified to edit the codes. I hope someone will spare their help to improve this beautiful package. |
I would love to work on this feature. I have been looking to contribute to open source, this seems just the right amount of challenge. I came here because I wanted to analyze a multi-band raster using pandas. |
Thanks @shelleyg-bit That would be great! I think the way to tackle this will need us to first move the import to |
Seems it would be useful to handle multi-band rasters. May need first to move to
rasterio
and then a rethink on how to handle and change functions accordingly. Should resolve issues #26, #39, #54.The text was updated successfully, but these errors were encountered: