PyPSA / atlite

Atlite: A Lightweight Python Package for Calculating Renewable Power Potentials and Time Series
https://atlite.readthedocs.io
254 stars 86 forks source link

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

Closed fneum closed 10 months ago

fneum commented 12 months ago

Would be nice to be able to do

excluder.add_raster("https://mywebsite.org/file.nc")
euronion commented 12 months ago

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 commented 10 months ago

Works with rasterio >= 1.3.2 automatically.