Alan D. Snow
Alan D. Snow
@djhoese thanks for the mention, hopefully I can provide something useful to the conversation. > I am hesitate to put complex preprocessing logic or clever heuristics to guess the name...
@mraspaud the file you provided no longer exists. Can you verify this is still an issue with rasterio 1.3.3?
I was thinking that the rasterio project could benefit from Windows support in setup as it will make testing rasterio on conda simpler. Currently it is disabled. Additionally, the wheel...
Conda-forge does test the windows builds. I was thinking for enabling tests with rasterio: https://github.com/rasterio/rasterio/blob/5cf71dc806adc299108543def00647845ab4fc42/.github/workflows/tests.yaml#L81 > How about waiting until 1.4.0? Sure. Not a big rush. Just something to simplify.
Addressed by #2231
Related: https://github.com/rasterio/rasterio/issues/1759
Related: ```python >>> subds = rasterio.open('HDF4_EOS:EOS_GRID:test/test_data/input/MOD09GA.A2008296.h14v17.006.2015181011753.hdf:MODIS_Grid_500m_2D:num_observations_500m') >>> subds.files ['test/test_data/input/MOD09GA.A2008296.h14v17.006.2015181011753.hdf'] >>> subds.name 'HDF4_EOS:EOS_GRID:test/test_data/input/MOD09GA.A2008296.h14v17.006.2015181011753.hdf:MODIS_Grid_500m_2D:num_observations_500m' ```
https://github.com/pydata/xarray/blob/main/xarray/backends/file_manager.py#L156-L165 Seems that there are reasons to have multiple file handles depending on the options used to open the file.
For those interested, see #600.
I believe that this is addressed by #1424