Conversation
…riting into BytesIO
|
I tried to fix some open documentation issues and propagate some user questions. Other questions :
|
|
For the rasterio / rioxarray equivalences, it could be great to explain why some attributes in rasterio are becoming methods when others don't (i.e. |
| +----------------------------------+--------------------------------------------------+ | ||
| | ``rasterio`` from ``ds.profile`` | ``rioxarray`` from DataArray | | ||
| +==================================+==================================================+ | ||
| | blockxsize | ``xda.encoding["preferred_chunks"]["x"]`` | |
There was a problem hiding this comment.
I think removing xda. in this table would be clearer as xda is not defined.
| | blockxsize | ``xda.encoding["preferred_chunks"]["x"]`` | | |
| | blockxsize | ``encoding["preferred_chunks"]["x"]`` | |
There was a problem hiding this comment.
I tried but I think it makes things ambiguous between methods accessible from xarray, from teh accessor or functions directly from rioxarray. I'll define what xda and ds are
There was a problem hiding this comment.
Maybe making the property/function linked to the documentation would make it more clear.
There was a problem hiding this comment.
I tried to link properties and functions tell me if it suits you
| +----------------------------------+----------------------------------------------------------------------------------------------------------+ | ||
| | compress | *Unused in rioxarray* | | ||
| +----------------------------------+----------------------------------------------------------------------------------------------------------+ | ||
| | count | :attr:`rioxarray.rioxarray.XRasterBase.count` | |
There was a problem hiding this comment.
This can help make it more clear it is used with rio accessor:
| | count | :attr:`rioxarray.rioxarray.XRasterBase.count` | | |
| | count | :attr:`rio.count <rioxarray.rioxarray.XRasterBase.count>` | |
There was a problem hiding this comment.
Yes superb idea, now it's better 👍
Uh oh!
There was an error while loading. Please reload this page.