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

Read from url for excluder.add_raster and excluder.add_geometry #307

Closed
fneum opened this issue Jul 12, 2023 · 2 comments
Closed

Read from url for excluder.add_raster and excluder.add_geometry #307

fneum opened this issue Jul 12, 2023 · 2 comments

Comments

@fneum
Copy link
Member

fneum commented Jul 12, 2023

Would be nice to be able to do

excluder.add_raster("https://mywebsite.org/file.nc")
@euronion
Copy link
Collaborator

Could follow same approach as in PyPSA for retrieving files in _retrieve_from_url https://github.com/PyPSA/PyPSA/blob/master/pypsa/io.py

@fneum
Copy link
Member Author

fneum commented Aug 26, 2023

Works with rasterio >= 1.3.2 automatically.

@fneum fneum closed this as completed Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants