Ryan Grout
Ryan Grout
@guilhermeleobas I'm not sure how to add the typing information. Is there an example I can see?
@guilhermeleobas Thanks. I was looking in completely the wrong place. I'll submit a PR now.
@guilhermeleobas Since the minimum supported version of Python is already 3.9, do we really need a version check?
This PR could make more sense for affine if the following two things can be resolved. 1. In its current state this would add a numpy dependency to affine (which...
Can you provide the following info? 1. What is the format of the file? Are you able to publicly share one of the files? 2. Do you still see the...
@fratambot another useful piece of info when you report back would be the output of ```python import rasterio rasterio.show_versions() ```
I used the toy dataset and opened each file 500 times using my snippet above (https://github.com/rasterio/rasterio/issues/3034#issuecomment-1961780372). I measured memory usage with memory_profiler and came up with this plot. 
I was inspecting my rasterio environment I used to do my plot and realized it was an older version of rasterio (1.3.6 I think). I updated to 1.3.9 and the...
@fratambot One thing to note is that the shapes of the arrays returned from gdal and rasterio are different. gdal returns an img array of shape (512, 512, 5), but...
@fratambot I ran your code sample with an environment that tried to match versions as best I could. I could not reproduce your issue on my machine.  I sourced...