Skip to content
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

Allow rasterio_open to be used on in-memory rasterio objects? #1575

Closed
cwerner opened this issue Sep 17, 2017 · 2 comments
Closed

Allow rasterio_open to be used on in-memory rasterio objects? #1575

cwerner opened this issue Sep 17, 2017 · 2 comments

Comments

@cwerner
Copy link

cwerner commented Sep 17, 2017

After I open and reproject a GTiff to WGS84 I want to place the bands into a xarray Dataset object. As I try to reduce disc writes as possible I work with a rasterio in-memory object.

As far as I can see it is currently not possible to pass a rasterio In-Memory object to the rasterio_open function, right? Is there a workaround for this or du I have to build the dataset from scratch?

If it's currently not possible I'd like to suggest this as a future addition.

[and thanks for your great xarray module]

@jhamman
Copy link
Member

jhamman commented Sep 17, 2017

This is not currently supported but could be. Similar functionality was recently added to the netCDF4-python backend in #1508.

@stale
Copy link

stale bot commented Aug 18, 2019

In order to maintain a list of currently relevant issues, we mark issues as stale after a period of inactivity

If this issue remains relevant, please comment here or remove the stale label; otherwise it will be marked as closed automatically

@stale stale bot added the stale label Aug 18, 2019
@stale stale bot closed this as completed Sep 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants